isOrgAdmin

Function

Utility that checks if a user is a portal org admin, or an org_admin by a platform role

  • isOrgAdmin(user: IUser) : boolean

Parameters

Parameter Type Default Notes
user Required IUser

Returns

{boolean}

boolean

Function defined in discussions/src/utils/platform.ts:46