cancel
Showing results for 
Search instead for 
Did you mean: 

Simplest way to write portal userid into a URL

Former Member
0 Kudos
44

Hi all ,

should be a simple question for the gurus here ...

We are using EP6 SP2 .From a JSP I want to get the logged on userid and write it to a URL (for login to an external app) .

Looking at using getUserByLogonID .

Is this the best way ? Could someone post a code example ?

Regards

Daniel

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You can retrieve the current user inside the JSP by the following line of code :

<%=request.getUserPrincipal()%>

Hope this Helps

gEorgE

Answers (0)