Click or drag to resize

AuthenticationGetAuthenticationToken(String, String, String, String) Method

Get authentication token for the local user and validate the given domain user.

Namespace: Crestron.SimplSharp.CrestronAuthentication
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public static AuthenticationUserToken GetAuthenticationToken(
	string username,
	string password,
	string domainUsername,
	string domainPassword
)

Parameters

username  String
The user name to get the token for
password  String
The password of the user
domainUsername  String
Domain user name to validate.
domainPassword  String
Domain user password.

Return Value

AuthenticationUserToken
AuthenticationUserToken struct containing information about the specified user's session.
Exceptions
ExceptionCondition
InvalidOperationExceptionAuthentication is not currently enabled on the controller.
ArgumentExceptionArguments provided to a method is not valid.
Remarks
The minimum firmware version required for this method is 1.009.0051.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also