Click or drag to resize

AuthenticationRemoveUserFromGroup(AuthenticationUserToken, String, String) Method

Note: This API is now obsolete.

Remove a user account from an access group

Namespace: Crestron.SimplSharp.CrestronAuthentication
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
[ObsoleteAttribute("Please use the overloaded RemoveUserFromGroup so that the token can get updated dynamically")]
public static bool RemoveUserFromGroup(
	AuthenticationUserToken utoken,
	string username,
	string groupname
)

Parameters

utoken  AuthenticationUserToken
User token obtained using GetAuthentication method
username  String
the user name
groupname  String
the group name

Return Value

Boolean
Flag indicating whether the user was removed from the group (true=success)
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.

Version Information

.NET

Obsolete (compiler warning) in 6.0

.NET Compact Framework

Obsolete (compiler warning) in 3.5
See Also