Skip to navigation

OrganizationMembership

OBJECT
A user's membership in an organization.

Fields

organizationOrganizationOrErrorRequired
The organization the user is a member of.
userUserOrErrorRequired
The member. It's an error when the user can't be read, for example a member who was added to the organization but has never signed in to Credal.
roleRoleOrErrorOptional
The role assigned directly to this member, or null when they have none. This is not necessarily the member's only role, because roles can also come from the member's groups. A member with no role from any source has the organization's default member role.