SHOW ORGANIZATION USERS¶
Lists organization users. Administrators in the organization account can use this command to list all organization users in the organization. Administrators in a regular account use this command to list all organization users in a specific organization user group that was added to the account.
Syntax¶
SHOW ORGANIZATION USERS [ IN ORGANIZATION USER GROUP <org_user_group> ]
Parameters¶
IN ORGANIZATION USER GROUP org_user_group
Name of an organization user group. This command displays all of the organization users in the specified group.
Required when the command is executed by the account administrator in a regular account.
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 USERS
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.
Output¶
The output of the command includes the following columns, which describe the properties and metadata of the object:
Column |
Description |
---|---|
|
Name of the organization user. |
|
Date and time when the organization user was created. |
|
When executed from a regular account, indicates whether the organization user in the specified organization user group was successfully imported. |
|
Name displayed for the user in Snowsight. |
|
Name that the user enters to log into the system. |
|
First name of the organization user. |
|
Middle name of the organization user. |
|
Last name of the organization user. |
|
Email address of the organization user. |
|
User-specified description of the organization user object. |
Examples¶
As an organization administrator, list all of the organization users in the organization:
USE ROLE GLOBALORGADMIN;
SHOW ORGANIZATION USERS;
As an account administrator, show information about the organization users in the organization user group data_stewards
:
USE ROLE ACCOUNTADMIN;
SHOW ORGANIZATION USERS IN ORGANIZATION USER GROUP data_stewards;