MachineIdentityManager.GetMachineStatus Method (String, String, Boolean)
Returns the status of the computer.
Namespace: Microsoft.WindowsServerSolutions.Devices.Identity
Assembly: MachineIdentityObjectModel (in MachineIdentityObjectModel.dll)
Syntax
public static GetMachineStatusType GetMachineStatus(
string userName,
string password,
out bool isAdmin
)
public:
static GetMachineStatusType^ GetMachineStatus(
String^ userName,
String^ password,
[OutAttribute] bool% isAdmin
)
Public Shared Function GetMachineStatus (
userName As String,
password As String,
<OutAttribute> ByRef isAdmin As Boolean
) As GetMachineStatusType
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.
isAdmin
Type: System.Booleantrue if the user account has administrator rights; otherwise, false.
Return Value
Type: Microsoft.WindowsServerSolutions.Devices.Identity.GetMachineStatusType
An instance of MachineStatus.
See Also
GetMachineStatus Overload
MachineIdentityManager Class
Microsoft.WindowsServerSolutions.Devices.Identity Namespace
Return to top