on 12-13-2006 3:54 PM
Hi all,
I have been following threads in order to get all the ep groups doing by this
IGroupFactory groupFactory = UMFactory.getGroupFactory();
IGroupSearchFilter groupFilter = groupFactory.getGroupSearchFilter();
//Filter option 1
groupFilter.setSearchAttribute("com.sap.security.core.usermanagement","displayname","*",ISearchAttribute.LIKE_OPERATOR,false);
//Filter option 2
groupFilter.setDisplayName*",ISearchAttribute.LIKE_OPERATOR, false);
com.sap.security.api.ISearchResult srGroups = groupFactory.searchGroups(groupFilter);
while(srGroups.hasNext()){
String unicID = (String) srGroups.next();
com.sap.security.api.IGroup group = groupFactory.getMutableGroup(unicID);
...
...
//myArray [] = group.getDisplayName().toString();
...
...
}
the problem cames because I also get all R/3 groups and I only want de Portal ones. I have been trying filtering by attributes but I got no success.
Somebody has ideas?
Thanks in advance,
Hi, i think you can work around it byt first getting all the portal roles(as you found out the groups)
and then finding out the groups assigned to each portal role or alternatively you can find out the sap
groups through a RFC call and filter those out from what you already have.
Thanks
Firasath
Message was edited by:
Firasath Riyaz
Message was edited by:
Firasath Riyaz
Message was edited by:
Firasath Riyaz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.