MembershipClient Class |
Namespace: SparkSDK
public sealed class MembershipClient
The MembershipClient type exposes the following members.
| Name | Description | |
|---|---|---|
| MembershipClient |
Initializes a new instance of the MembershipClient class.
|
| Name | Description | |
|---|---|---|
| CreateByPersonEmail |
Adds a person to a room by email address; optionally making the person a moderator.
| |
| CreateByPersonId |
Adds a person to a room by person id; optionally making the person a moderator.
| |
| Delete |
Deletes a membership by membership id. It removes the person from the room where the membership belongs.
| |
| Get |
Retrieves the details for a membership by membership id.
| |
| List(NullableInt32, ActionSparkApiEventArgsListMembership) |
Lists all room memberships where the authenticated user belongs.
| |
| List(String, NullableInt32, ActionSparkApiEventArgsListMembership) |
Lists all memberships in the given room by room Id.
| |
| ListByPersonEmail |
Lists any room memberships for the given room (by room id) and person (by email address).
| |
| ListByPersonId |
Lists any room memberships for the given room (by room id) and person (by person id).
| |
| Update |
Updates the properties of a membership by membership id.
|