/**
@file usermembersbygroup.sas
@brief List the members of a group
SAS Macros
@li mpeinit.sas
@li ms_getusers.sas
Data Inputs
iwant
|groupid:$|
|---|
|1|
Data Outputs
sasmembers
|DISPLAYNAME:$60.|USERNAME:$30.|ID:best.|
|---|---|---|
|`Super Admin `|`secretuser `|`1`|
|`Sabir Hassan`|`sabir`|`2`|
|`Mihajlo Medjedovic `|`mihajlo `|`3`|
|`Ivor Townsend `|`ivor `|`4`|
|`New User `|`newuser `|`5`|
@version 9.3
@author 4GL Apps Ltd
@copyright 4GL Apps Ltd. This code may only be used within Data Controller
and may not be re-distributed or re-sold without the express permission of
4GL Apps Ltd.
**/
%mpeinit()
data _null_;
set work.iwant;
call symputx('gid',groupid);
run;
%ms_getusers(outds=sasMembers, gid=&gid)
%webout(OPEN)
%webout(OBJ,sasMembers)
%webout(CLOSE)