Click or drag to resize

UserInfoRemoveLocalGroup Method

Removes local group if it exists.

Namespace: GSF.Identity
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.249-beta+56964f8aed6f3f2e54faec1539f7ce0ba6548fdf
Syntax
public static bool RemoveLocalGroup(
	string groupName
)
View Source

Parameters

groupName  String
Group name to remove if it exists.

Return Value

Boolean
true if group was removed; otherwise, false if group did not exist.
Exceptions
ExceptionCondition
ArgumentNullExceptiongroupName was null.
ArgumentExceptionNo groupName was specified.
InvalidOperationExceptionCould not remove local group.
See Also