cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic portal roles in Logon page component

former_member187970
Participant
0 Kudos

Hi all,

How to get dynamic portal roles after log on and before showing desktop and framework.

My Scenario is like :

Lets say a testuser assigned for Group A and Group B.

Group A  having 3 roles like  Role1,Role2,Role3 .

Group B  having 3 roles like  Role4,Role5,Role6 .

testuser having 4 role like Role1.Role4 Role7 Role8.

So finally now testuser having  3+3+4=10 roles.

while testuser  log on into portal we have to display new screen having  drop-down list and submit button.

In drop-down list  we have to display Groups which are assigned to this  testuser  so in this case we have to display Group A ,Group B.

after click submit button we have to display  intersection roles that means

If we selected Group A in drop-down list  Role1 only have to display because Role1 is common for Group A and testuser

If we selected Group B in drop-down list  Role4 only have to display because Role4 is common for Group B and testuser.

Can any help us how to achieve this requirement?

Thanks ,

Prasad.

Accepted Solutions (0)

Answers (2)

Answers (2)

RameshShrestha
Contributor
0 Kudos

Hi Prasad,

     I dont know about the dynamic role assignment for specific group and user but I suggest you to go with merge property of the roles.

By merging the roles you can create new group without creating the reductant roles,worksets. Please check this link might be helpful for you.

http://help.sap.com/saphelp_nw70/helpdata/en/53/89503ede925441e10000000a114084/content.htm

0 Kudos

Prasad,

You could sorta accomplish this using a custom desktop with a custom top level nav which reads in all of the portal nav nodes and hides them all until the user selects which group he or she wants.  Once that is selected you can show only those nodes and the rest of the portal.

Hope this helps.

-Kenton