MemberProperties

Interface MemberProperties

Data associated with a member.

Can be requested via MemberAPI.requestMemberProperties.

interface MemberProperties {
    name?: string;
    profile?: MemberProfile;
    role: MemberRole;
}

Properties

Properties

name?: string

The name of the member.

Use MemberAPI.setMemberName to change the name.

profile?: MemberProfile

Custom data associated with the member.

The role of the member in the space.

MemberAction.PROMOTE and MemberAction.DEMOTE for changing the role of a member.