| UserAccountControlIsCurrentUserInGroup Method |
Determines whether the current user is in the specified group.
Namespace:
TomsToolbox.Desktop
Assembly:
TomsToolbox.Desktop (in TomsToolbox.Desktop.dll)
Syntax public static bool IsCurrentUserInGroup(
string groupName
)
Public Shared Function IsCurrentUserInGroup (
groupName As String
) As Boolean
Parameters
- groupName
- Type: SystemString
Name of the group.
Return Value
Type:
Booleantrue if the user belongs to the specified group; otherwise
falseSee Also