Click or drag to resize

SessionManagerStartSessionAndChangePassword Method

Start session for the user based on specified credentials and change his/her password

Namespace:  FileHold.UserRoleManager
Assembly:  FileHold.UserRoleManager (in FileHold.UserRoleManager.dll) Version: 17.0.0.0
Syntax
C#
public string StartSessionAndChangePassword(
	string login,
	string oldPassword,
	string newPassword,
	Client clientType
)

Parameters

login
Type: SystemString
Login of the local FileHold user
oldPassword
Type: SystemString
The old password of the local FileHold user
newPassword
Type: SystemString
The new password to set
clientType
Type: FileHold.CommonClient
Type of concurrent session. Only one session of each type can exist at a given type per each user. All client types are reserved for exclusive use by FileHold except for the CustomClient. Anyone creating a custom application must use the CustomClient type. Failure to do so may result in incorrect operation of the system.

Return Value

Type: String
The session identifier to be passed in the FHLSID cookie to other Web Services.
See Also