ShellBrowserIsAdmin Method |
Checks whether the user is admin or not.
In Vista or later: Determines whether application is running
with elevated rights (UAC) or not.
Namespace:
Jam.Shell
Assembly:
ShellBrowser.Winforms (in ShellBrowser.Winforms.dll) Version: 6.3.1
Syntax public static bool IsAdmin()
Public Shared Function IsAdmin As Boolean
public:
static bool IsAdmin()
static member IsAdmin : unit -> bool
Return Value
Type:
BooleanTrue if current user has administrator-rights; false if not
See Also