UtilUserAccountIsAdmin Method
Determines whether an user-account of the current machine context is an Administrator.
Namespace: DevCase.Core.Windows.UsersAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static bool IsAdmin(
string username
)
Public Shared Function IsAdmin (
username As String
) As Boolean
Dim username As String
Dim returnValue As Boolean
returnValue = UtilUserAccount.IsAdmin(username)
public:
static bool IsAdmin(
String^ username
)
static member IsAdmin :
username : string -> bool
No code example is currently available or this language may not be supported.
- username String
-
The user name.
Boolean if the user is an Administrator, otherwise,
.
This is a code example.
No code example is currently available or this language may not be supported.
Dim userIsAdmin As Boolean = UserAccounts.IsAdmin(username:="Administrator")
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.