MachineIdentityManager.GetSidAsync Method (String, String, String, Boolean)
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.StringThe user name that is used to log on to the computer.
password
Type: System.StringThe password for the user name.
machineName
Type: System.StringThe name of the computer from which the security identifier is obtained.
bForce
Type: System.Booleantrue to force the server to overwrite the computer account; otherwise, false.
See Also
MachineIdentityManager Class
Microsoft.WindowsServerSolutions.Devices.Identity Namespace
Return to top