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

Detailed Description

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

Member Enumeration Documentation

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

Property Documentation

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).

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
getset

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.

Get the type of agent that can be installed. See the enum AgentType.

string MacAddress
getset

MAC address of the computer (Desktop agent only)

string Ipv4Address
getset

IpV4 address of the computer (Desktop agent only)

string Ipv4Mask
getset

IpV4 mask of the computer (Desktop agent only)

string Fqdn
getset

Fully qualified DNS name of the computer

string Description
getset

Description of the computer

bool IsMfaCompatible
get

true if this agent is MFA-compatible, false otherwise.

bool IsLatestVersion
getset

If the agent is the latest one.