Click or drag to resize

AuthenticationGetAuthenticationToken(String, String, String) Method

Get authentication token for the specified user from the provided IPAddress.

IP address will be blocked if invalid user login attempts exceeds the set value.


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

Parameters

username  String
The user name to get the token for
password  String
The password of the user
ipAddress  String
The ipAddress of the user

Return Value

AuthenticationUserToken
AuthenticationUserToken struct containing information about the specified user's session.
Exceptions
ExceptionCondition
InvalidOperationExceptionIp blocking is not enabled on the Control system or Authentication is not currently enabled on the controller.
ArgumentExceptionArguments provided to a method is not valid.
NotSupportedException The method is not currently supported.

If firmware support is missing.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also