DROP ORGANIZATION USER¶
Removes an organization user from the organization.
Syntax¶
DROP ORGANIZATION USER <name>
Parameters¶
name
Identifier for the organization user; must be unique for your organization.
The identifier value must start with an alphabetic character and cannot contain spaces or special characters unless the entire identifier string is enclosed in double quotes (for example,
"My object"
). Identifiers enclosed in double quotes are also case sensitive.For more information, see Identifier requirements.
Access control requirements¶
A role used to execute this operation must have the following privileges at a minimum:
Privilege |
Object |
Notes |
---|---|---|
OWNERSHIP |
Organization user |
For instructions on creating a custom role with a specified set of privileges, see Creating custom roles.
For general information about roles and privilege grants for performing SQL actions on securable objects, see Overview of Access Control.
Example¶
DROP ORGANIZATION USER joe;