|
UserInfoRemoveLocalGroup Method
|
Removes local group if it exists.
Namespace: GSF.IdentityAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.246-beta+ff392465a0262ee2737937d4127fc3c2f08c6dcd
Syntaxpublic static bool RemoveLocalGroup(
string groupName
)
Public Shared Function RemoveLocalGroup (
groupName As String
) As Boolean
public:
static bool RemoveLocalGroup(
String^ groupName
)
static member RemoveLocalGroup :
groupName : string -> bool
GSF.Identity.UserInfo.RemoveLocalGroup = function(groupName);
View SourceParameters
- groupName String
- Group name to remove if it exists.
Return Value
Booleantrue if group was removed; otherwise,
false if group did not exist.
ExceptionsException | Condition |
---|
ArgumentNullException | groupName was null. |
ArgumentException | No groupName was specified. |
InvalidOperationException | Could not remove local group. |
See Also