Saturday 25 June 2016

Showing Logged UserName by Using Security

helo Every one today i  will share how to show username of logged username by using adf security
this is quite simple to show the username of logged user.
actually the problem i am discussing with you is shown in this picture
you can see fahad is logged in this time so which is showing with name and icon
so to create this follow these simple steps
1)in your jsf page drop a output text and in the text portion write the follwing lines

         Welcome     #{securityContext.userName}
or you can also find this from using Expression builder


 so this is all for today  very simple and easy meathed to show the logged username
  if u have any confusin u can also follow this link
http://docs.oracle.com/cd/E18941_01/tutorials/jdtut_11r2_29/jdtut_11r2_29.html



Best regard
Muhammmad Wattu


No comments:

Post a Comment