Click or drag to resize

TeamMembershipClientCreateByEmail Method

Add a person to a teams by email address; optionally making the person a moderator of the team.

Namespace:  SparkSDK
Assembly:  SparkSDK (in SparkSDK.dll) Version: 0.1.0.0 (0.1.0.0)
Syntax
C#
public void CreateByEmail(
	string teamId,
	string personEmail,
	Nullable<bool> isModerator = false,
	Action<SparkApiEventArgs<TeamMembership>> completionHandler = null
)

Parameters

teamId
Type: SystemString
The identifier of the team.
personEmail
Type: SystemString
The email address of the person.
isModerator (Optional)
Type: SystemNullableBoolean
if set to true [is moderator of the team]. The default is false.
completionHandler (Optional)
Type: SystemActionSparkApiEventArgsTeamMembership
The completion event handler.
Remarks
Since: 0.1.0
See Also