|
UserInfoLocalGroupExists Method
|
Determines if local group exists.
Namespace: GSF.IdentityAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.246-beta+ff392465a0262ee2737937d4127fc3c2f08c6dcd
Syntaxpublic static bool LocalGroupExists(
string groupName
)
Public Shared Function LocalGroupExists (
groupName As String
) As Boolean
public:
static bool LocalGroupExists(
String^ groupName
)
static member LocalGroupExists :
groupName : string -> bool
GSF.Identity.UserInfo.LocalGroupExists = function(groupName);
View SourceParameters
- groupName String
- Group name to test for existence.
Return Value
Booleantrue if
groupName exists; otherwise,
false.
ExceptionsException | Condition |
---|
ArgumentNullException | groupName was null. |
ArgumentException | No groupName was specified. |
See Also