Question

6
Replies
966
Views
RAMYAMALLIKA Member since 2010 1 post
Accenture
Posted: 3 years ago
Last activity: 3 years 3 months ago
Closed

Get User Identifier before login

Hi ,

In our project there is a requirement where we need to get the username as a parameter on submission of login page. even if it is failed login we still need to get the user name which needs to be passed for an activity which is called from web-login HTML.We are using Pega 7.2 version and I have tried the below solutions but none helped

1.Tried to pass the user identifier like below while calling activity

pp.putString("UserID",tools.getParamValue("UserIdentifier") )

2.Used the below code in java step of an activity called from web-login

javax.servlet.http.HttpServletRequest request = (javax.servlet.http.HttpServletRequest) tools.getRequestor().getRequestorPage().getObject("pxHTTPServletRequest");

userid = request.getParameter("UserIdentifier");.

3.Tried to document the cookie and get value from cookie in a local property.

Appreciate your help..!!!

***Updated by moderator: Lochan to add Categories***

Security System Administration
Moderation Team has archived post
Share this page LinkedIn