Hello,
I try to change the SASUSERs group permission on a secure folder. I want to choose the 'Select' option by code.
Here is my code:
filename dem "...";
data _null_;
file dem;
put "<UpdateMetadata>";
put "<Metadata>";
put "<Tree Id='aaaaaaaa.xxxxxxxx'>";
put "<AccessControls>";
put "<AccessControlEntry Name='aaaaaa:xxxxxxxx' ObjRef='aaaaaaaa.xxxxxxxx'>";
put "<Permissions>";
put "<Permission ObjRef='aaaaaaa.xxxxxxxx'/>";
put "</Permissions>";
put "<Identities>";
put "<IdentityGroup ObjRef='A5416ZHE.A5000001'/>";
put "</Identities>";
put "</AccessControlEntry>";
put "</AccessControls>";
put "</Tree>";
put "</Metadata>";
put "<Reposid>aaaaaaaa.xxxxxxxx</Reposid>";
put "<NS>SAS</NS>";
put "<Flags>268435456</Flags>";
put "<Options/>";
put "</UpdateMetadata>";run;
filename rep "...";
proc metadata verbose
in=dem
out=rep;
run;
the code runs without error but nothing moves at the metadata level.
Thank you for your help.