Hi All,

I am using listUsers method in UserAdminStub found in
org.wso2.carbon.user.mgt.stub 4.2.0.
If my requirment is to get all the available users with a single call, what
should be the maxLimit value.

I had a offline chat with Pushpalanka and it was found out that the [1]
does the final call to LDAP.
According to [2] if 0 is passed, it will return all the entries. But
according to [1]'s doListUsers method, if 0 is passed, it will return an
empty array.

If there is no user-mgt.xml associated, how to retrieve all the available
users at once?

[1]
https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.2.0/core/org.wso2.carbon.user.core/4.2.0/src/main/java/org/wso2/carbon/user/core/ldap/ReadOnlyLDAPUserStoreManager.java

[2]
http://docs.oracle.com/javase/7/docs/api/javax/naming/directory/SearchControls.html#setCountLimit%28long%29

Please advice.
--
Thanks and Regards,

Punnadi Gunarathna
Senior Software Engineer,
WSO2, Inc.; http://wso2.com <http://wso2>
Blog: http://hi-my-world.blogspot.com/
Tel : 94 11 214 5345
Fax :94 11 2145300



 <http://lalajisureshika.blogspot.com/>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to