Click or drag to resize

AuthenticationGetGroupsForSpecifiedUser Method

Method to return the groups that the specified user belongs to. This returns AuthenticationUserAuthenticationLevelEnum containing the groups.

Namespace: Crestron.SimplSharp.CrestronAuthentication
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public static List<string>? GetGroupsForSpecifiedUser(
	AuthenticationUserToken utoken,
	string userName
)

Parameters

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

Return Value

ListString
A list of groups.
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