on 10-15-2006 6:09 PM
Hi all,
I have a specific requirement to develope using Webdynpro. I want to display the list of the groups a user belong to? i.e . The groups assigned to the selected user. Could some one help me . I promise to award points for the solution.
Thank you in advance
Regards
Maruti
hi
use this code
IGroupFactory grpFact = UMFactory.getGroupFactory();
IGroupSearchFilter grpFilt = grpFact.getGroupSearchFilter();
grpFilt.setSearchAttribute(IPrincipal.DEFAULT_NAMESPACE,
IPrincipal.DESCRIPTION,desc,
ISearchAttribute.LIKE_OPERATOR,false);
ISearchResult result = grpFact.searchGroups(grpFilt);
while (result.hasNext()) {
String grpId = (String) result.next();
IGroup thisGroup = grpFact.getGroup(grpId);
String grpName = thisGroup.getUniqueName();
...
}
Regards
Nidhideep
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Go through this.
http://help.sap.com/saphelp_erp2005vp/helpdata/en/c5/656c4255b3c553e10000000a1550b0/frameset.htm
it might helps
Thanks
Lohi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
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.