[progress Communities] [progress Openedge Abl] Forum Post: Re: Replace Current Request...

  • Thread starter Thread starter Mike Fechner
  • Start date Start date
Status
Not open for further replies.
M

Mike Fechner

Guest
Thanks Fernando, tried that now. But on the next request, I am still having the old user info in the CP. DEFINE VARIABLE hNewCP AS HANDLE NO-UNDO. DEFINE VARIABLE hCurrentCP AS HANDLE NO-UNDO. ASSIGN hCurrentCP = SESSION:CURRENT-REQUEST-INFO:GetClientPrincipal(). CREATE CLIENT-PRINCIPAL hNewCP ASSIGN DOMAIN-NAME = "xyz" DOMAIN-TYPE = "OEApplication" QUALIFIED-USER-ID = "42@xyz" ROLES = "ROLE_PSCUser" SESSION-ID = hCurrentCP:SESSION-ID USER-ID = "42" . hNewCP:SEAL ("secretseal") . SESSION:CURRENT-RESPONSE-INFO:SETCLIENTPRINCIPAL (hNewCP) .

Continue reading...
 
Status
Not open for further replies.
Back
Top