Click or drag to resize

AuthenticationGetAuthenticationToken(String, String) Method

Get authentication token for this user. For use for administering local groups and users or once a domain has been added.

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

Parameters

username  String
The user name to get the token for. This will also support domain accounts.
password  String
The password of the user

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.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also