Click or drag to resize

SessionManagerStartSessionAndResetPassword Method

Start session for the local FileHold user and reset password based on specified credentials and token

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

Parameters

login
Type: SystemString
Login of the local FileHold user
newPassword
Type: SystemString
The new password to set
token
Type: SystemString
Reset token which is required for user verification
pin
Type: SystemString
pin used in mobile verification
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