Loading...
Searching...
No Matches
mx_getgroups.sas File Reference

Fetches groups on SAS 9, Viya or SASjs Server. More...

Go to the source code of this file.

Detailed Description

Returns the same three-column model on each platform. GROUPURI is the native group identifier, GROUPNAME the group name and GROUPDESC the description. Viya user memberships do not supply a description, so GROUPDESC is blank for those rows. Character lengths are 256 bytes. For Viya user memberships, mv_getusergroups caps ID and NAME at 256 bytes; longer values may be truncated before this wrapper receives them.

Parameters
[in]mdebug=(0) Enable debug messages where supported
[in]user=(0) Username to filter on, or 0 for all groups
[in]uid=(0) SASjs Server user identifier to filter on
[in]repo=(foundation) SAS 9 metadata repository
[in]access_token_var=(ACCESS_TOKEN) Viya access token variable
[in]grant_type=(sas_services) Viya authentication grant
[out]outds=(work.mx_getgroups) Output groups dataset with character GROUPURI, GROUPNAME and GROUPDESC, each length 256 bytes

SAS Macros

Definition in file mx_getgroups.sas.