Click or drag to resize

MembershipClient Class

Memberships represent a person's relationship to a room. Use this API to list members of any room that you're in or create memberships to invite someone to a room. Memberships can also be updated to make someome a moderator or deleted to remove them from the room.
Inheritance Hierarchy
SystemObject
  SparkSDKMembershipClient

Namespace:  SparkSDK
Assembly:  SparkSDK (in SparkSDK.dll) Version: 0.1.0.0 (0.1.0.0)
Syntax
C#
public sealed class MembershipClient

The MembershipClient type exposes the following members.

Constructors
  NameDescription
Public methodMembershipClient
Initializes a new instance of the MembershipClient class.
Top
Methods
  NameDescription
Public methodCreateByPersonEmail
Adds a person to a room by email address; optionally making the person a moderator.
Public methodCreateByPersonId
Adds a person to a room by person id; optionally making the person a moderator.
Public methodDelete
Deletes a membership by membership id. It removes the person from the room where the membership belongs.
Public methodGet
Retrieves the details for a membership by membership id.
Public methodList(NullableInt32, ActionSparkApiEventArgsListMembership)
Lists all room memberships where the authenticated user belongs.
Public methodList(String, NullableInt32, ActionSparkApiEventArgsListMembership)
Lists all memberships in the given room by room Id.
Public methodListByPersonEmail
Lists any room memberships for the given room (by room id) and person (by email address).
Public methodListByPersonId
Lists any room memberships for the given room (by room id) and person (by person id).
Public methodUpdate
Updates the properties of a membership by membership id.
Top
Remarks
Since: 0.1.0
See Also