sasjs / core

Macros for SAS® App Developers
https://core.sasjs.io
MIT License
118 stars 17 forks source link

Enable DISPLAY_NAME in sasjs service response #61

Closed allanbowe closed 3 years ago

allanbowe commented 3 years ago

We need a consistent display name in the service response - currently it differs between SAS9 and VIYA.

image

allanbowe commented 3 years ago

actually - for SAS 9 - %mf_getuser() DOES return the display name.

For Viya, the display name is not available as a macro variable, and should be collected from the NAME attribute of the following endpoint, eg:

https://sas.analytium.co.uk/identities/users/@currentUser