Shell32IsUserAnAdmin Method

Determine whether the current user is a member of the Administrator's group.

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("Shell32.dll", ExactSpelling = true)]
public static bool IsUserAnAdmin()

Return Value

Boolean
The return value is if the user is a member of the Administrator's group; otherwise, .

Remarks

See Also