Click or drag to resize

AuthenticationAddGroupToSystem(AuthenticationUserToken, String, AuthenticationUserAuthenticationLevelEnum) Method

Add group to system

Namespace: Crestron.SimplSharp.CrestronAuthentication
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public static bool AddGroupToSystem(
	ref AuthenticationUserToken utoken,
	string groupName,
	AuthenticationUserAuthenticationLevelEnum accesslevel
)

Parameters

utoken  AuthenticationUserToken
User token obtained using GetAuthentication method passed in as reference so that the access level gets updated dynamically
groupName  String
groupName to add to the system
accesslevel  AuthenticationUserAuthenticationLevelEnum
accesslevel for the specified group

Return Value

Boolean
Flag indicating whether the group was successfully added
Exceptions
ExceptionCondition
InvalidOperationExceptionAuthentication is not currently enabled on the controller.
AuthenticationPrivilegeExceptionHigher privileges are required to use this method.
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