Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

User with two different roles

hi All,

I have an unique problem with my application, I have a user with two different roles "admin" and "salesrep".

I have declared the roles in the initialise() method of my portal application.

Now the problem is that when the user logs in who has both the roles applicable to him admin and salesrep, that is pointing to the admin role and there is a "Null Pointer Exception" coming for the salesrep role.

This is because the "salesrep" role has access to some information that the "admin" role does not have.

Please help me in this issue how to over come this problem.

Thanks and regards


Former Member
Not what you were looking for? View more on this topic or Ask a question