How can I find out which Rollbase user is connecting to OpenEdge using JSDO?
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" .
If the authentication type is not OpenEdge then we send following info in the headers
RB_HOST_NAME
RB_CUST_ID
RB_USER_ID
RB_ROLE_NAME
RB_USER_LOCALE
(This feature is available from 3.0 release)
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
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" .
If the authentication type is not OpenEdge then we send following info in the headers
RB_HOST_NAME
RB_CUST_ID
RB_USER_ID
RB_ROLE_NAME
RB_USER_LOCALE
(This feature is available from 3.0 release)
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
Terrific, thank you.