ADsPath

Returns the LDAP path to the computer object.

Syntax

string ADsPath {get;}

Property value

The LDAP path to the computer object in the following format:

LDAP://CN=aixserver,CN=computers,DC=sierra,DC=com

Returns null if the computer profile is an orphan.

Example

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

...  
set objZone = cims.GetZone("ajax.org/UNIX/Zones/")  
'Identify the computer account  
Set objComp = cims.GetComputer("ajax.org/Computers/backup78”)   
wScript.Echo “LDAP path: “ & objComp.ADsPath  
...