Skip to main content

@idpass/data-collect-core / UserRoleAssignment

Interface: UserRoleAssignment

Defined in: interfaces/types.ts:795

Represents a user's role assignment within a program and area scope.

Properties​

userId​

userId: string

Defined in: interfaces/types.ts:797

User identifier


programId​

programId: string

Defined in: interfaces/types.ts:799

Program identifier


role​

role: SystemRole

Defined in: interfaces/types.ts:801

Role assigned to the user


areaCodes​

areaCodes: string[]

Defined in: interfaces/types.ts:803

Area codes the user is assigned to (empty = all areas)


isGlobal​

isGlobal: boolean

Defined in: interfaces/types.ts:805

Whether this is a local (area-restricted) or global role