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

Creates a dataset with a list of group members. 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;

Now we can run the macro!

%mv_getgroupmembers(All Users)

outputs:

ordinal_root num,
ordinal_items num,
version num,
id char(43),
name char(43),
providerId char(5),
implicit num
Parameters
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
Version
VIYA V.03.04
Author
Allan Bowe @source https://github.com/sasjs/core

Dependencies

Definition in file mv_getgroupmembers.sas.