You can specify a sort attribute for each managed object, such as users, groups, or organizations. CA IdentityMinder uses this attribute to sort search results in custom business logic, which you create with the CA IdentityMinder APIs.
Note: The sort attribute does not affect the way search results are displayed in the User Console.
For example, when you specify the cn attribute for the user object, CA IdentityMinder sorts the results of a search for users alphabetically by the cn attribute.
Follow these steps:
<PropertyDict name="SORT_ORDER"> <Property name="ATTR">your_sort_attribute </Property> </PropertyDict>
Note: Specify only one physical attribute. Do not specify a well-known attribute.
For example, assume that you have to sort user search results based on the value of the cn attribute. Add the following elements after the last IMSManagedObjectAttr element in the User Object section of the directory configuration file:
<!-- ******************** User Object ******************** --> <ImsManagedObject name="User" description="My Users" objectclass="top,person,organizationalperson,user" objecttype="USER"> . . . <ImsManagedObjectAttr physicalname="departmentnumber" displayname="Department" description="Department" valuetype="String" required="true" multivalued="false" maxlength="0" /> <PropertyDict name="SORT_ORDER"> <Property name="ATTR">cn</Property> </PropertyDict> </ImsManagedObject>
Copyright © 2013 CA.
All rights reserved.
|
|