![]() |
Production Ready Macros for SAS Application Developers
https://github.com/sasjs/core
|
Creates a dataset with a list of groups for a particular user. More...
Go to the source code of this file.
If using outside of Viya SPRE, then an access token is needed.
Compile the macros here:
filename mc url "https://raw.githubusercontent.com/sasjs/core/main/all.sas"; %inc mc;
Then run the macro!
%mv_getusergroups(&sysuserid,outds=users)
access_token_var= | The global macro variable to contain the access token |
grant_type= | valid values are "password" or "authorization_code" (unquoted). The default is authorization_code. |
outds= | The library.dataset to be created that contains the list of groups |
Definition in file mv_getusergroups.sas.