Skip to main content

UserMembershipScopes

UserMembershipScopes describes the scopes of membership. These only apply when the user has a MEMBER role.

type UserMembershipScopes {
scoped: Boolean!
sites: [Site!]
siteIDs: [String!]
}

Fields​

UserMembershipScopes.scoped ● Boolean! non-null scalar ​

scoped returns true when the user has a scoped membership, and is not a member organization wide.

UserMembershipScopes.sites ● [Site!] list object ​

sites (when not null) list the sites that the user is a member of When null, it means that the user is a member of all sites within the organization.

UserMembershipScopes.siteIDs ● [String!] list scalar ​

siteIDs (when not null) list the sites that the user is a member of When null, it means that the user is a member of all sites within the organization.

Member Of​

User object