![]() |
Production Ready Macros for SAS Application Developers
https://github.com/sasjs/core
|
Get a list of Viya Clients. More...
Go to the source code of this file.
First, be sure you have an access token (which requires an app token).
Using the macros here:
filename mc url "https://raw.githubusercontent.com/sasjs/core/main/all.sas"; %inc mc;
An administrator needs to set you up with an access code:
%mv_registerclient(outds=client)
Navigate to the url from the log (opting in to the groups) and paste the access code below:
%mv_tokenauth(inds=client,code=wKDZYTEPK6)
Now we can run the macro!
%mv_getclients()
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_getclients.sas.