Click or drag to resize

AuthenticationGetAccessLevelForSpecifiedUser Method

Method to return the access level of the specified user. This returns AuthenticationUserAuthenticationLevelEnum indicating the access level.

Namespace: Crestron.SimplSharp.CrestronAuthentication
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public static AuthenticationUserAuthenticationLevelEnum GetAccessLevelForSpecifiedUser(
	AuthenticationUserToken utoken,
	string userName
)

Parameters

utoken  AuthenticationUserToken
Token of an Administrator level user.
userName  String
Specified user to return access level

Return Value

AuthenticationUserAuthenticationLevelEnum
Enum indicating user access level. A user could belong to multiple groups so the return value could specify multiple access levels.
Exceptions
ExceptionCondition
InvalidOperationExceptionAuthentication is not currently enabled on the controller.
AuthenticationPrivilegeExceptionHigher privileges are required to use this method.
NotSupportedExceptionThis method requires minimum firmware version 1.502.0009 or higher
ArgumentNullExceptionArguments provided to the method are not valid
NotSupportedExceptionThe method is not currently supported

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also