-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
Hi all,
searching for some helpfoul macros, I noticed that in this collection there are macros to create stp, folders, libraries, ... but there are no macros to create groups or users, or ACT, and macros to associate groups to groups (while there is user to groups) or populate ACTs. Is there any reasons for that, or it's just because noone write those macros? I'm wondering if such a code could make any damage to metadata or something like it...
I.E. I would use something like this to create groups:
data USERS_TO_ADD;
length _RC 8 GROUP_NAME $100 GROUP_URI $100;
GROUP_NAME='TEST2';
_RC=metadata_newobj('IdentityGroup', GROUP_URI, GROUP_NAME);
_RC=metadata_setattr(GROUP_URI, "UsageVersion", "1000000");
_RC=metadata_setattr(GROUP_URI, "PublicType", "UserGroup");
run;
Metadata
Metadata
Assignees
Labels
No labels