Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Asynchronously returns a security identifier for the specified computer.
Namespace:   Microsoft.WindowsServerSolutions.Devices.Identity
Assembly:  MachineIdentityObjectModel (in MachineIdentityObjectModel.dll)
Syntax
public void GetSidAsync(
    string userName,
    string password,
    string machineName,
    bool bForce
)
public:
void GetSidAsync(
    String^ userName,
    String^ password,
    String^ machineName,
    bool bForce
)
Public Sub GetSidAsync (
    userName As String,
    password As String,
    machineName As String,
    bForce As Boolean
)
Parameters
- userName 
 Type: System.String- The user name that is used to log on to the computer. 
- password 
 Type: System.String- The password for the user name. 
- machineName 
 Type: System.String- The name of the computer from which the security identifier is obtained. 
- bForce 
 Type: System.Boolean- true to force the server to overwrite the computer account; otherwise, false. 
See Also
MachineIdentityManager Class
Microsoft.WindowsServerSolutions.Devices.Identity Namespace
Return to top