CREATE ORGANIZATION USER GROUP¶
Creates a new organization user group.
- See also:
ALTER ORGANIZATION USER GROUP , DROP ORGANIZATION USER GROUP , SHOW ORGANIZATION USER GROUPS
Syntax¶
CREATE ORGANIZATION USER GROUP [ IF NOT EXISTS ] <name>
Parameters¶
name
Identifier for the organization user group; must be unique for your organization.
The identifier 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 |
---|---|---|
CREATE ORGANIZATION USER GROUP |
Account |
By default, only the GLOBALORGADMIN has this privilege. |
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.
Examples¶
Create an organization user group named data_stewards
:
CREATE ORGANIZATION USER GROUP data_stewards;