Purpose is to pull full User Directory users using the SmDmsSearch.
Couple of questions on the SmDmsSearch attributes as follows:
*** Question 1 --> If the field "m_szFilter" is not set, is it possible to acquire it without search conditions?
*** Question 2 --> If the field "m_nMaxResults" is not set, is there an upper limit on the number of acquisitions?
Release : 12.8
Component : SITEMINDER -SDK
*** Question 1 --> If the field "m_szFilter" is not set, is it possible to acquire it without search conditions?
[Answer] m_szFilter NEEDS to be set. However to get the Directory a filter such as (objectclass=*) can be tried.
Please note that, SearchResults and SearchTimeout values of the created Directory (against which the search is conducted) influence the results. Value 0 (zero) would be suitable to get all the results.
*** Question 2 --> If the field "m_nMaxResults" is not set, is there an upper limit on the number of acquisitions?
[Answer] -1 for m_nMaxResults Means, all the search results would be provided to client. No idea on the max allowed number to be returned, at least I have got successful results with 2021 entries in the directory.