UserOrganizationRole
An organization role assigned to a user.
type UserOrganizationRole implements Model {
id: Int
organization: Organization
organizationId: Int
restricted: Boolean
restrictedBy: String
restrictedOrgName: String
role: OrgRole
roleId: OrgRoleId
source: String
userId: Int
}
Fields
UserOrganizationRole.id ● Int scalar common
The unique identifier for the role assignment.
UserOrganizationRole.organization ● Organization object common
The organization the role applies to.
UserOrganizationRole.organizationId ● Int scalar common
The organization ID the role applies to.
UserOrganizationRole.restricted ● Boolean scalar common
Whether the role assignment is restricted.
UserOrganizationRole.restrictedBy ● String scalar common
The source or actor that applied the restriction.
UserOrganizationRole.restrictedOrgName ● String scalar common
The name of the organization that caused the restriction.
UserOrganizationRole.role ● OrgRole object common
The role definition assigned to the user.
UserOrganizationRole.roleId ● OrgRoleId enum common
The role ID assigned to the user.
UserOrganizationRole.source ● String scalar common
The source of the role assignment.
UserOrganizationRole.userId ● Int scalar common
The user ID that holds the role.
Interfaces
Model interface common
A model with an integer identifier.
Member Of
UpdateUserOrganizationRolePayload object ● UserOrganizationRoleList object