Member

class Member

Members on Redivis represent individuals who interface with an organization, including both data administrators and researchers applying to and using that organization's data. You must be an administrator of the respective organization in order to view and edit members.

Constructors

Construct a new member instance based on the member's username.

Returns a list of members within the organization.

Examples

my_org = redivis.organization("some_organization")

# List all members
members = my_org.list_members()
for member in members:
   # ... do something with the member

# Get a specific member
a_member = my_org.member("jane_doe")
# Will throw an error if the member doesn't exists
# Can first call member.exists() to check for existence
a_member.get()

print(a_member.properties)

Attributes

organization

properties

user

Methods

Add labels to a member.

Check whether the member exists.

Get the member, populating the properties attribute on the current instance.

Remove labels from a member.

Update certain attributes on the member.

Last updated

Was this helpful?