IS_ORGANIZATION_USER
functionsupportedAccounts, users, sessions, warehousesReturns TRUE if the argument is a Snowflake user who is an organization user.
Syntax
IS_ORGANIZATION_USER( <exp> )
Parameters
| Name | Required | Description |
|---|---|---|
exp | required | Expression that resolves to the name of a Snowflake user object. If passing in the literal name of a user, surround it with single quotes (for example, 'joe'). |
Returns
Returns TRUE if the argument is an organization user.
Usage notes
- In data sharing contexts, this function returns NULL if it is called from a consumer account that exists in a different organization than the provider account. Calling the function from a consumer account in the same organization as the provider returns TRUE or FALSE.