Click or drag to resize

TeamMembershipClient Class

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

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

The TeamMembershipClient type exposes the following members.

Constructors
  NameDescription
Public methodTeamMembershipClient
Initializes a new instance of the TeamMembershipClient class.
Top
Methods
  NameDescription
Public methodCreateByEmail
Add a person to a teams by email address; optionally making the person a moderator of the team.
Public methodCreateById
Adds a person to a team by person id; optionally making the person a moderator of the team.
Public methodDelete
Deletes a membership by id.
Public methodGet
Retrieves the details for a membership by id.
Public methodList
Lists all team memberships where the authenticated user belongs.
Public methodUpdate
Updates the details for a membership by id.
Top
Remarks
Since: 0.1.0
See Also