UtilUserAccountFindUser(String) Method
Finds an user account that matches the specified name in the current machine context.
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 UserPrincipal FindUser(
string username
)
Public Shared Function FindUser (
username As String
) As UserPrincipal
Dim username As String
Dim returnValue As UserPrincipal
returnValue = UtilUserAccount.FindUser(username)
public:
static UserPrincipal^ FindUser(
String^ username
)
static member FindUser :
username : string -> UserPrincipal
No code example is currently available or this language may not be supported.
- username String
-
The user name to find.
UserPrincipal
An
UserPrincipal object that contains the user data.
This is a code example.
No code example is currently available or this language may not be supported.
Dim user As UserPrincipal = UserAccounts.FindUser(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.
ArgumentException
|
User not found.;username
|