LdapSort(resultId, sortType, attrName_1[,attrName_2...attrNameN]);
resultId
sortType
A string of maximum three characters that specifies the sort type to be performed.N – Numeric sortS – String sortC – String collationYou can specify the sort order by adding one of the following characters to the string:A – Ascending (Default)D – DescendingIf you specify sort type S you can add the following to the string:attrNameN
Sorts entries in a result set based on one or more entry attributes. The sorting is based on attrName_1 first, then attrName_2, and so on.
1 -1 // Sort the search result by string (case insensitive) in ascending // order using the "common name" ("cn") attribute.ldapsort($myResultId, "SAI", "cn");
OpenText StreamServe 5.6 | Updated: 2013-03-01 |