组织管理员
组织管理员执行组织级任务,例如管理账户和查看组织级使用信息。目前,有两种执行组织级任务的方法:
- 使用组织账户中的 GLOBALORGADMIN 角色
- 使用 ORGADMIN 角色
使用 GLOBALORGADMIN 角色¶
Multi-account organizations should use the GLOBALORGADMIN in the organization account to perform organization-level tasks. A user with the GLOBALORGADMIN role is also known as the global organization administrator.
要以全局组织管理员身份执行任务,请执行以下操作:
- 登录组织账户。
- 执行下列操作之一:
-
如果要在 SQL 工作表中执行任务,请执行以下命令:
-
If you are performing other tasks in Snowsight, switch your active role to GLOBALORGADMIN.
-
使用 ORGADMIN 角色¶
Important
Using the ORGADMIN role in an ORGADMIN-enabled account is being phased out for multi-account organizations. Strongly consider using the GLOBALORGADMIN role in the organization account to perform organization-level tasks.
Snowflake 将在逐步取消 ORGADMIN 角色前至少三个月向客户发送通知电子邮件。
要使用 ORGADMIN 角色执行任务,请执行以下操作:
- 登录已启用 ORGADMIN 的账户。
- 执行下列操作之一:
-
如果要在 SQL 工作表中执行任务,请执行以下命令:
-
If you are performing other tasks in Snowsight, switch your active role to ORGADMIN.
-
在账户中启用 ORGADMIN 角色¶
The first account in an organization has the ORGADMIN role enabled. You can use this account to enable the role in other accounts. For example, to
enable the ORGADMIN role for an account my_account1, the organization administrator can execute the following
command from an account that already has the ORGADMIN role enabled:
启用 ORGADMIN 角色时,请注意以下三点:
- The ALTER ACCOUNT syntax only accepts the account name format of the account identifier. You cannot use the account locator to specify the account.
- By default, the ORGADMIN role can be enabled in a maximum of eight accounts. If your organization requires more accounts with the ORGADMIN role, contact Snowflake Support.
- The ORGADMIN role cannot be enabled for a reader account.
禁用 ORGADMIN 角色¶
You can prevent regular, ORGADMIN-enabled accounts from being used to perform organization-level tasks.
To accomplish this, execute the ALTER ACCOUNT command to remove the ORGADMIN role from the account. For example, if you want to stop using
the account_123 account to perform organization-level tasks, do the following:
-
Sign in to a different ORGADMIN-enabled account.
-
Assume the ORGADMIN role:
-
执行以下命令:
The ALTER ACCOUNT syntax only accepts the account name format of the account identifier. You cannot use the account locator to specify the account.
Note
Currently, you cannot disable the ORGADMIN role if it is the last account that has the role enabled. Contact Snowflake Support.