Click or drag to resize

EnvironmentLogin Method

Login a user. Start(String) must be called first.

Namespace: LynceeTec.API
Assembly: LynceeTec.API (in LynceeTec.API.dll) Version: 10.2.3317.0 , built 2025-03-17 14:55:35 UTC
Syntax
public static void Login(
	string userName,
	SecureString password
)

Parameters

userName  String
The name of the user to log.
password  SecureString
The password of the user to log in
Exceptions
ExceptionCondition
EnvironmentNotStartedExceptionThrown when the operation is not valid because the environment hasn't been started
UserAlreadyLoggedInExceptionThrown when the operation is not valid because a user is already logged in
InvalidOperationExceptionThrown when the config manager wasn't instanciated but the Environment is started. Probable use of the incorrect Start function
See Also