UserLock API
Public Types | Properties | List of all members
MachineState Class Reference

State of a machine in the protected network zone. This is an element of a MachineStates list. More...

Public Types

enum  ServerLevel {
  Unknown = -1 , Workstation = 0 , Server = 1 , DC = 2 ,
  RRAS = 4 , IAS = 8 , IIS = 0x10
}
 Roles of a machine. Several roles may be specified at a time with the or operator. See the property Roles. More...
 

Properties

String MachineName [get]
 Name of the machine.
 
String KeyName [get]
 Key name. An extension is added to the name depending on the kind of agent that can be installed (MachineName,AgentType).
 
AgentStatus AgentStatus [get]
 Get te agent status. See the enum AgentStatus.
 
String AgentVersion [get]
 Get the version of the installed agent.
 
ServerLevel Roles [get]
 Get the roles of the machine. See the ServerLevel enum.
 
bool IsWorkstation [get]
 True if the computer is a workstation, False otherwise.
 
DateTime LastCheckTime [get]
 Get the last time the machine was checked.
 
DateTime LastSuccess [get]
 Get the last time the machine was successfully checked.
 
DateTime LastAgentActivity [get]
 Get the last time the agent has contacted the server.
 
int LastCheckStatus [get]
 Get last check status. 0 means success otherwise a Windows error code.
 
Reason LastConnectionErrorReason [get]
 Get the reason of the last connection error (LastCheckStatus <> 0).
 
string LastConnectionErrorReasonString [get]
 Get the string reason of the last connection error (LastCheckStatus <> 0).
 
string HowToFix [get]
 Get the How To Fix article number in case deployment error. Empty otherwise.
 
String Building [get]
 Get the building of the computer. A localization mask should have specified or a CSV file for the correspondence between machines and buildings.
 
String Room [get]
 Get the room of the computer. A localization mask should have been specified or a CSV file for the correspondence between machines and rooms.
 
String OrganisationalUnit [get]
 Get the organizational unit containing this machine.
 
AgentType AgentType [get, set]
 Get the type of agent that can be installed. See the enum AgentType.
 
string MacAddress [get]
 MAC address of the computer (Desktop agent only)
 
string Ipv4Address [get]
 IpV4 address of the computer (Desktop agent only)
 
string Ipv4Mask [get]
 IpV4 mask of the computer (Desktop agent only)
 
string Fqdn [get]
 Fully qualified DNS name of the computer.
 
string Description [get]
 Description of the computer.
 
bool IsMfaCompatible [get]
 true if this agent is MFA-compatible, false otherwise.
 
bool IsLatestVersion [get]
 If the agent is the latest one.
 

Detailed Description

State of a machine in the protected network zone. This is an element of a MachineStates list.

Member Enumeration Documentation

◆ ServerLevel

Roles of a machine. Several roles may be specified at a time with the or operator. See the property Roles.

Enumerator
Unknown 

Roles of the machine are unknown.

Workstation 

The machine is a workstation.

Server 

The machine is a server.

DC 

The machine is a domain controller.

RRAS 

The machine is a Microsoft RRAS server (RRAS agent is deprecated)

IAS 

The machine is a Microsoft NPS (IAS) server.

IIS 

The machine is a Microsoft IIS server.