Skip to Content
0
Former Member
Apr 10, 2008 at 10:07 AM

getting users group

17 Views

Hi All,

I tried to check whethr the logged user Belong to the EVERYONE group by using "user.isMemberOfGroup("EVERYONE",true") method. but its always returning false.

IWDClientUser clientuser = WDClientUser.getCurrentUser();

IUser user = clientuser.getSAPUser();

userGroups = user.getParentGroups(true);

wdComponentAPI.getMessageManager().reportSuccess("Is Member--"+user.isMemberOfGroup("EVERYONE",true));

what would be the problem with this code.

Regards

Sridhar.