AgentVersion

Gets the version number of the Centrify agent as it is stored in Active Directory.

Syntax

string AgentVersion {get;}

Property value

The version number of the Centrify agent.

Example

The following code sample illustrates using AgentVersion for a computer object in a script:

...
set objZone = cims.GetZoneByPath("LDAP://CN=research, CN=zones,CN=centrify,CN=program data,DC=sierra,DC=com")
'Identify the computer account
Set objComp = cims.GetComputerByPath("LDAP://CN=aixserver, CN=computers,DC=sierra,DC=com”) 
wScript.Echo “Centrify Agent: “ & objComp.AgentVersion
...