ADsPath

Gets the LDAP path to the UNIX profile data object.

Syntax

string ADsPath {get;}

Property value

The LDAP path to the UNIX profile data object.

Example

The following code sample illustrates using ADsPath in a script:

...
'Get the zone object
Set objZone = cims.GetZone("ajax.org/UNIX/Zones/pilot")
'Get the Active Directory user object
set objUser = cims.GetUser("ajax.org/Users/pat.hu")
'Get the UNIX profile for the user
profile = objUser.UnixProfileByUid(10001)
'Display the LDAP for the user’s UNIX profile
wScript.Echo “LDAP Path: ” & profile.ADsPath
...