You can specify a sort attribute for each managed object, such as users, groups, or organizations. CA Identity Manager uses this attribute to sort search results in custom business logic, which you create with the Identity Manager 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 Identity Manager sorts the results of a search for users alphabetically by the cn attribute.
To configure default sort order
<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, 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 © 2011 CA. All rights reserved. | Email CA Technologies about this topic |