Skip to main content
Version: 57.2.0

OrganizationScopedUser

A user that may belong to one or more organizations (tenants). Backends that use tenant-scoped models add an organizationIds array to their user model; this interface lets the shared permission/query-filter helpers read it without every consumer casting by hand.

Extends

Properties

_id

_id: string | ObjectId

Inherited from

User._id


admin

admin: boolean

Inherited from

User.admin


id

id: string

Inherited from

User.id


isAnonymous?

optional isAnonymous?: boolean

We support anonymous users, which do not yet have login information. This can be helpful for pre-signup users.

Inherited from

User.isAnonymous


organizationIds?

optional organizationIds?: string[]