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