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...
Continue reading...