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 (in ShellBrowser.dll) Version: 7.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