In this example, we are trying to retrieve all user accounts under the "ou=ldapconnector,dc=ca,dc=com" path. We specifically asked for the "entrydn", "uid", and "objectclass" attributes of these accounts.

We are also sorting the returned user accounts by "entryDn" then "uid".

After the operator ran, it ended successfully and the UserAccounts variable was created as follows:


Each ValueMap in the UserAccounts variable now shows the values retrieved for each user account attribute. The operator returned only ten user accounts because we specified our search results limit to be ten. The values of multi-valued attributes (objectclass in this example) are also returned with a "|" between the multiple values:
![]()
|
Copyright © 2014 CA.
All rights reserved.
|
|