UtilUserAccountFindUser(SecurityIdentifier) Method
Finds an user account that matches the specified security identifier (SID) 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(
SecurityIdentifier sid
)
Public Shared Function FindUser (
sid As SecurityIdentifier
) As UserPrincipal
Dim sid As SecurityIdentifier
Dim returnValue As UserPrincipal
returnValue = UtilUserAccount.FindUser(sid)
public:
static UserPrincipal^ FindUser(
SecurityIdentifier^ sid
)
static member FindUser :
sid : SecurityIdentifier -> UserPrincipal
No code example is currently available or this language may not be supported.
- sid SecurityIdentifier
-
A SecurityIdentifier (SID) object.
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(sid:=New SecurityIdentifier("S-1-5-21-1780771175-1208154119-2269826705-500"))
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
|