AdsiInterface

Gets the IADs interface for the computer object from Active Directory.

Syntax

IADs AdsiInterface {get;}

Property value

The IADs interface for the computer object.

Example

The following code sample illustrates using AdsiInterface 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”) 
'Display the LDAP path of the parent container
wScript.Echo objComp.AdsiInterface.Parent
...