SYSTEM$HOLD_PRIVILEGE_ON_ACCOUNT

functionnot supportedAccess control (grants, roles)

docs.snowflake.com ↗

System functions

Indicates if a privilege has been granted to a Snowflake Native App. For example, providers can use this function in the setup script to check if the app has the necessary privileges to create an object. Note This system function can only be called by a Snowflake Native App.

Syntax

SYSTEM$HOLD_PRIVILEGE_ON_ACCOUNT('<privilege_name>')

Parameters

NameRequiredDescription
'privilege_name'requiredThe name of the privilege.

Returns

- Returns TRUE if the app has been granted the specified privilege. Otherwise, returns FALSE.