Macros for SAS Application Developers
https://github.com/sasjs/core
Loading...
Searching...
No Matches
mv_getgroups.sas File Reference

Creates a dataset with a list of viya groups. More...

Go to the source code of this file.

Detailed Description

First, load the macros:

filename mc url
  "https://raw.githubusercontent.com/sasjs/core/main/all.sas";
%inc mc;

Next, execute:

%mv_getgroups(outds=work.groups)
Parameters
[in]access_token_var=(ACCESS_TOKEN) The global macro variable to contain the access token
[in]grant_type=(sas_services) valid values are "password" or "authorization_code" (unquoted).
[out]outds=(work.viyagroups) The library.dataset to be created that contains the list of groups
Version
VIYA V.03.04
Author
Allan Bowe, source: https://github.com/sasjs/core

SAS Macros

Definition in file mv_getgroups.sas.