cancel
Showing results for 
Search instead for 
Did you mean: 

how to display portal users with their roles and groups

Former Member
0 Kudos

hi all,

I need a sample application in webdynpro, which displays all the users in portal with their roles and their groups.

can anyone tell me how do we retrieve portal users,roles and groups.

I need webdypro code for this application.

Thanks in advance.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos
Former Member
0 Kudos

Hi Nidhi,

Refer to this link :

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/ep/how%2bto%2bconfigure%2bportal%2bactivity%2brep...

Hope it helps.

Regards,

Nithya

Edited by: nithya priya on Oct 16, 2008 11:05 AM

Former Member
0 Kudos

Hello nidhi,

What you want to look for is anything dealing with the UME and WebDynpro. The UME (User Management Engine) includes an API which allows you to search over roles, users, groups, etc...

Here's some sample code to give you an idea:


IUser aUser = UMFactory.getUserFactory().getUser(WDClientUser.getCurrentUser());
isMember = aUser.isMemberOfRole(role, true);

Cheers,

Hermann

Former Member
0 Kudos

Hi Nidhi,

There r many threads on the forum which describe exactly what your looking for. Please search.....to make things easy...i did a simple search for you

Thanks,

GLM