Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Member

class Member

A member of an organization. Organization administrators can use these methods to review and manage members, e.g., approving membership requests or applying labels.

Constructors

Method
Description

Return a Member of an organization, given their username.

Organization.listMembers([maxResults, options])

List the Members of an organization.

Examples

const organization = redivis.organization('my_organization');
const member = organization.member('jane');

await member.get();
console.log(member.properties.status);

await member.update({ labelsToAdd: ['faculty'] });
await member.addComment('Verified affiliation');

Attributes

Name
Description

name

The member's username.

organization

The Organization that the member belongs to.

user

The User who is the member.

properties

An object containing the API resource representation of the member. This will only be populated after certain methods are called, particularly the get method.

Methods

Method
Description

Add a comment to the member.

Check whether the member exists.

Fetch the member's metadata, populating member.properties.

Member.update(options)

Update the member's status or labels.

Was this helpful?