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
Go through this.
http://help.sap.com/saphelp_erp2005vp/helpdata/en/c5/656c4255b3c553e10000000a1550b0/frameset.htm
it might helps
Thanks
Lohi.
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
Add a comment