OrganizationMembershipWithMetadata
This class implements OrganizationMembership
.
Members
The roles associated with this membership.
firstName : string
firstName : string
The first name of the user associated with this membership.
lastName : string
lastName : string
The last name of the user associated with this membership.
email : string
email : string
The email of the user associated with this membership.
Methods
constructor(api, membership)
constructor(api, membership)
Create a new Membership object using the Organization API.
api
must be an instance ofOrganizationApi
;membership
must implement theMembershipInfo
interface;
static async fromMembership(membership)
static async fromMembership(membership)
Create a membership with metadata object from a normal membership.
override async getRoles()
override async getRoles()
An override of OrganizationMembership.getRoles()
that doesn't send a request to get the roles.
Last updated