[progress Communities] [progress Openedge Abl] Forum Post: Re: [kendo For Angular] How To...

  • Thread starter Thread starter egarcia
  • Start date Start date
Status
Not open for further replies.
E

egarcia

Guest
Hello Martin, > I need to see the role of the user on the client. I trying to send the role from back-end application to the browser http header response. Just to confirm, how are you looking to send the roles in the HTTP header response? Are you using a WebHandler based service? Even though the JSDOSession does not have an API to handle roles on the client side, it has a generic functionality to send properties back and forth to/from the backend using a special HTTP header called X-CLIENT-PROPS. This functionality is done with APIs setContext(), getContext(), setContextProperty() and getContextProperty(). To use these APIs you would need a backend that works with WebHandlers. These APIs are currently not documented but I can provide info on them. Please let me know if you are using one and interested on using this approach. I hope this helps.

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