Macros for SAS Application Developers
https://github.com/sasjs/core
mv_getclients.sas File Reference

Get a list of Viya Clients. More...

Go to the source code of this file.

Detailed Description

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()
Parameters
[out]outds=(work.mv_getclients) The library.dataset to be created that contains the list of clients
Version
VIYA V.03.04
Author
Allan Bowe, source: https://github.com/sasjs/core

SAS Macros

Definition in file mv_getclients.sas.