Macros for SAS Application Developers
https://github.com/sasjs/core
Loading...
Searching...
No Matches
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
[in]groupGroup id for which to return group members
[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.viyagroupmembers) The library.dataset to be created that contains the list of group members
Version
VIYA V.03.04
Author
Allan Bowe, source: https://github.com/sasjs/core

SAS Macros

Definition in file mv_getgroupmembers.sas.