UtilUserAccountFindSid Method
Finds the security identifier (SID) of the specified username account 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 SecurityIdentifier FindSid(
string username
)
Public Shared Function FindSid (
username As String
) As SecurityIdentifier
Dim username As String
Dim returnValue As SecurityIdentifier
returnValue = UtilUserAccount.FindSid(username)
public:
static SecurityIdentifier^ FindSid(
String^ username
)
static member FindSid :
username : string -> SecurityIdentifier
No code example is currently available or this language may not be supported.
- username String
-
The user name.
SecurityIdentifier
A
SecurityIdentifier (SID) object.
This is a code example.
No code example is currently available or this language may not be supported.
Dim sid As SecurityIdentifier = UserAccounts.FindSid(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.