Skip to content

PlatformEffectiveAccessPrincipal

PlatformEffectiveAccessPrincipal = { groupId?: never; userId: string; } | { groupId: string; userId?: never; }

The principal to compute access for in roles.getEffectiveAccess() — a user or a group, never both.

Type Declaration

{ groupId?: never; userId: string; }

groupId?

optional groupId: never

userId

userId: string

GUID of the user to check.

{ groupId: string; userId?: never; }

groupId

groupId: string

GUID of the group to check.

userId?

optional userId: never