ServicePRO SDK Help

RequestServicesManager..::..GetUserByEmail Method

Gets the user information by Email.

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

Syntax


public void GetUserByEmail(
	string userSessionKey,
	string email,
	Action<stcUser, Exception> callbackAction
)
Public Sub GetUserByEmail ( _
	userSessionKey As String, _
	email As String, _
	callbackAction As Action(Of stcUser, Exception) _
)

Parameters

userSessionKey
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.
email
Type: String
The Email address associated to the user.
callbackAction
Type: Action<(Of <(<'stcUser, Exception>)>)>
The callback action.