IS_ORGANIZATION_USER_GROUP
functionsupportedAccounts, users, sessions, warehousesReturns TRUE if the specified role was created when an administrator added an organization user group to the account.
Syntax
IS_ORGANIZATION_USER_GROUP( '<role>' )
Parameters
| Name | Required | Description |
|---|---|---|
'role' | required | Role in the current account. |
Returns
Returns TRUE if the specified role was created from or linked to an organization user group.
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.