TeamMembershipClientCreateById Method |
Adds a person to a team by person id; 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 public void CreateById(
string teamId,
string personId,
Nullable<bool> isModerator = false,
Action<SparkApiEventArgs<TeamMembership>> completionHandler = null
)
Parameters
- teamId
- Type: SystemString
The identifier of the team. - personId
- Type: SystemString
The identifier 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