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

Adds a user to a group. More...

Go to the source code of this file.

Detailed Description

Adds a user to a metadata group. The macro first checks whether the user is in that group, and if not, the user is added.

Note that the macro does not check inherited group memberships - it looks at direct members only.

Usage:

%mm_adduser2group(user=sasdemo
  ,group=someGroup)
Parameters
[in]user=the user name (not displayname)
[in]group=the group to which to add the user
[in]mdebug=(0) set to 1 to show debug info in log

Related Files

Version
9.3
Author
Allan Bowe

Definition in file mm_adduser2group.sas.