MembershipClientCreateByPersonId Method |
Adds a person to a room by person id; optionally making the person a moderator.
Namespace:
SparkSDK
Assembly:
SparkSDK (in SparkSDK.dll) Version: 0.1.0.0 (0.1.0.0)
Syntax public void CreateByPersonId(
string roomId,
string personId,
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. - personId
- Type: SystemString
The identifier 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 event handler.
Remarks Since: 0.1.0
See Also