ServicePRO SDK Help

ManageObjectsServicesManager..::..CheckIfTeamHasRepRole Method

Checks if team contains Rep role.

Namespace:  ServicePRO.Sdk.Windows.Managers
Assembly:  ServicePRO.Sdk.Windows (in ServicePRO.Sdk.Windows.dll)

Syntax


public void CheckIfTeamHasRepRole(
	string sessionKey,
	int teamId,
	Action<bool, Exception> callbackAction
)
Public Sub CheckIfTeamHasRepRole ( _
	sessionKey As String, _
	teamId As Integer, _
	callbackAction As Action(Of Boolean, Exception) _
)

Parameters

sessionKey
Type: String
User’s Session Key.
Key property of the User Session Object of type stcSession.
The User Session has to be established by making a call to InitializeSystemAndSession() method in CoreServicesManager class as a first step with using ServicePRO SDK.
teamId
Type: Int32
The team identifier.
callbackAction
Type: Action<(Of <(<'Boolean, Exception>)>)>
The callback action.