cancel
Showing results for 
Search instead for 
Did you mean: 

Filtering Portal Role by their Permission

Former Member
0 Kudos

We are writing a WebDynpro application that needs to search for roles that have specific permission assigned to them. For example, we need to display all protal roles for which Content Administrators have 'Role Assigner' privilege to.

Does anyone know which API's to use. The com.sap.security.api does not seem to have any methods related to role permissions. Sample code would be great.

Maximum points to the first helpful answer.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi ,

Check below thread.I hope it helps you

Koti Reddy

Former Member
0 Kudos

I don't think you understand my question. I do NOT want a list of all roles that the user is assinged to. I want to get a list of all roles for which the user has the "Role Assigner" permission to.

Former Member
0 Kudos

Hello. Login in portal with admin rigths , after go to link

/irj/servlet/prt/portal/prtroot/com.sap.portal.admin.acleditor.listPermissions

Best read this :

http://help.sap.com/saphelp_nw70/helpdata/EN/23/948d3dcf7943ecb989db547d44220f/frameset.htm

http://help.sap.com/saphelp_nw70/helpdata/EN/43/ecd341fad02135e10000000a1550b0/content.htm

Regards.

Former Member
0 Kudos

This is great if I only want to view the role permission, but we need to wirte a Web Dynpro application that reads the role permissions. How can we do the same programatically in Web Dynpro for Java?

Former Member
0 Kudos

We are not programmers, abou Web Dynpro for Java ask on

"Web Dynpro Java" forum -->

Regards.

Former Member
0 Kudos

For those who are interested, I found the answer in the following thread: