@idpass/data-collect-core / UserRoleAssignment
Interface: UserRoleAssignment
Defined in: interfaces/types.ts:714
Represents a user's role assignment within a program and area scope.
Properties
userId
userId:
string
Defined in: interfaces/types.ts:716
User identifier
programId
programId:
string
Defined in: interfaces/types.ts:718
Program identifier
role
role:
SystemRole
Defined in: interfaces/types.ts:720
Role assigned to the user
areaCodes
areaCodes:
string[]
Defined in: interfaces/types.ts:722
Area codes the user is assigned to (empty = all areas)
isGlobal
isGlobal:
boolean
Defined in: interfaces/types.ts:724
Whether this is a local (area-restricted) or global role