IS_ ORGANIZATION_ USER_ GROUP¶
Returns TRUE if the specified role was created when an administrator added an organization user group to the account.
语法
实参
'role'当前账户中的角色。
返回
如果指定角色是从组织用户组创建的,或者链接到组织用户组,则返回 TRUE。
使用说明
在数据共享上下文中,如果使用者账户与提供商账户属于 不同的组织,则调用该函数时会返回 NULL。从与提供商所在的 同一组织 中的使用者账户调用该函数将返回 TRUE 或 FALSE。
示例
Determine if the role data_stewards in the current account was created from an organization user group.