ALTER ORGANIZATION USER

statementsupportedAccounts, users, sessions, warehousesEnterprise+

docs.snowflake.com ↗

Object: ORGANIZATION USER

Modifies the properties of an existing organization user. Organization users and organization user groups require Enterprise Edition. To inquire about upgrading, please contact Snowflake Support.

Syntax

supportedpartialnot supportednot scored

ALTER ORGANIZATION USER [ IF EXISTS ] <name> SET [ objectProperties ]

ALTER ORGANIZATION USER <name> UNSET [ objectProperties ]

Where

objectProperties ::=
  EMAIL = '<string>'
  DISPLAY_NAME = '<string>'
  FIRST_NAME = '<string>'
  MIDDLE_NAME = '<string>'
  LAST_NAME = '<string>'
  TYPE = { PERSON | SERVICE }
  COMMENT = '<string>'

Parameters

NameRequiredDescription
nameSpecifies the identifier for the organization user to alter. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. For more information, see Identifier requirements.
SET ...Set object properties. For a description of the object properties, see CREATE ORGANIZATION USER.
UNSET ...Unset object properties. For a description of the object properties, see CREATE ORGANIZATION USER. Unsetting the TYPE property makes the organization user a PERSON user, which is the default type.

Usage notes

Access control requirements

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 and USERADMIN system roles in the organization account have 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.

See also

Referenced by