Click or drag to resize

DataServiceCreateNewSession Method

Activate a work session, based on credentials. A user can have only one session at a time, that value has a validity of 24 hours.

Namespace:  SARADataService
Assembly:  SARADataService (in SARADataService.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public int CreateNewSession(
	string User,
	string Password
)

Parameters

User
Type: SystemString
String representing the user
Password
Type: SystemString
String that represents the user's password

Return Value

Type: Int32
It returns the identification of the working session (token). The operation is successful if the value is greater than zero
See Also