cancel
Showing results for 
Search instead for 
Did you mean: 

using different logins as per the user

Former Member
0 Kudos

if there are two officers then a screen heading should change dynamically and allow the user to give their comments depending upon which user has login into the sytsem.plz tell me if there is any code aur any navigation method for this type of requirement

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Nisha,

If I have understood your issue corectly.

Once user accesses application, and if you can identify which user he is, then you can easily achieve this in Web Dynpro.

Let us say Header is "Web Dynpro" for officer A and "Portal" for user B. You approach can be, creating context attribute "header" and assocaiting this to header UI element. Once user logs in,

if User is A ---wdcontext.currentContextElement().setHeader("Web Dynpro");

else if user is B--wdcontext.currentContextElement().setHeader("Portal");