on 02-26-2015 5:44 AM
Hello All,
I am using UME API inside my portal component DC and reading list of users who are part of a group.
In our portal landscape, there are many groups that have more than 5000 users.
I noticed that when I call method to get all users for a group, it is only returning first 5000 users of that group.
(Iterator<String> userIter = group.getUserMembers(true);)
This is I guess some kind of limitation in SAP UME framework.
Any solution, workaround you can think of with which I can get 'ALL' users for a group?
Thanks & Regards,
Amey
Hi Amey,
Hope you are doing good.
Nice to hear from you again.
Are you retrieving from LDAP backend? The reason I am, asking is cause we have seen issues with the property "MaxValRange" not set.
Please have a look at the below link:
https://my.opswat.com/hc/en-us/articles/203730784-Set-LDAP-query-to-return-more-objects-maxvalrange
Hope this helps.
_ _ _ _ _ _ _ _ _
Kind Regards,
Hemanth
SAP AGS
_ _ _ _ _ _ _ _ _
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Hemanth,
Thanks for reply. I am doing good. I hope all is fine at your end as well.
Yes, the groups that I refer in my question are AD groups.
I went through the link you shared.
So setting this MaxValRange property at AD side to, say 10000, would just solve the problem for a while.
And if in future if there are more than 10000 users in this group, then again we'll face this issue.
Am I right?
Thanks & Regards,
Amey
Hi Amey,
That is true. DATA is fetched from LDAP, so settings need to be fine on both end. So on the LDAP< set the MaxValRange correctly and as Vincent stated, on the UME end, set:
ume.admin.search_maxhits
and
ume.admin.search_maxhits_warninglevel
Hope this helps.
_ _ _ _ _ _ _ _ _
Kind Regards,
Hemanth
SAP AGS
_ _ _ _ _ _ _ _ _
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
I know that this settings have direct impact on User Admin iView. For development (access via API) I don't know. As you can see in my print screen I have increased the limit to 10.000. Doing this (in Dev. Portal) I was able to export groups/users in flat file. Then I can work (Excel macro) on it.
For your last question... I don't know. Sorry.
Regards.
Vincent
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.