Click or drag to resize

MembershipClientCreateByPersonEmail Method

Adds a person to a room by email address; optionally making the person a moderator.

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

Parameters

roomId
Type: SystemString
The identifier of the room where the person is to be added.
personEmail
Type: SystemString
The email address of the person to be added.
isModerator (Optional)
Type: SystemNullableBoolean
if set to true [is moderator of the room]. The default is false.
completionHandler (Optional)
Type: SystemActionSparkApiEventArgsMembership
The completion handler.
Remarks
Since: 0.1.0
See Also