OrganizationMembershipWithMetadata

This class implements OrganizationMembership.

Members

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.

Methods

constructor(api, membership)

Create a new Membership object using the Organization API.

static async fromMembership(membership)

Create a membership with metadata object from a normal membership.

override async getRoles()

An override of OrganizationMembership.getRoles() that doesn't send a request to get the roles.

Last updated