Forum Post: RE: Get Rollbase user from JSDO

  • Thread starter Thread starter Ranjana sinha
  • Start date Start date
Status
Not open for further replies.
R

Ranjana sinha

Guest
Hi Peter, For private cloud If the authentication type selected is OpenEdge authentication then ClientPrincipal info is provided in the header with key as "X-OE-CLIENT-CONTEXT-ID" . (This feature is available from 3.0 release) For public cloud or if the authentication type is basic for private cloud then from Header authorization we can get username and password. If you want to know the user, you can enable the ClientPrincipal filter in the REST Adapter and know about the user in your ABL code with something like this: ==== define variable hCP as handle no-undo. hCP = session:current-request-info:GetClientPrincipal(). message hCP:qualified-user-id. ==== Let me know if this answers your question. Regards, Ranjana Sinha

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