SHOW ORGANIZATION USER GROUPS
statementsupportedAccounts, users, sessions, warehousesLists organization user groups. - If the command is executed in the organization account, it lists all organization user groups in the organization. - If the command is executed in a regular account, it lists the organization user groups that are available to the account.
Syntax
SHOW ORGANIZATION USER GROUPS
Access control requirements
The access control requirements for this command vary depending on the account where it is being executed. Regular account: Executing this command in a regular account requires the ACCOUNTADMIN role. Organization account: A role used to execute this operation must have the following privileges at a minimum: Privilege Object Notes MANAGE ORGANIZATION USER GROUPS Account By default, only the GLOBALORGADMIN and USERADMIN system roles in the organization account have this privilege.ExpandShow lessSee more 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.
Output
The output of the command includes the following columns, which describe the properties and metadata of the object: Column | Description name | Name of the organization user group. is_imported | When executed from a regular account, indicates whether the organization user group has been added to the account successfully. If TRUE, the organization user group was added and the role of the same name created. created_on | Date and time when the organization user group was created. is_grantable | When executed from a regular account, indicates whether the role that was imported from the organization user group can be granted to a local, account-specific role. If TRUE, the role imported from the organization user group can be granted to account-specific roles.