static void San_GrantAccessAdminGroup(Args _args)
{
#Admin
SecurityKeySet securitySet;
;
setPrefix(funcName());
securitySet = new SecurityKeySet();
securitySet.loadGroupRights(#AdminUserGroup, '');
securitySet.access(securitykeynum("SecurityKey"), AccessType::Delete);
xAccessRightsList::saveSecurityRights(securitySet.pack(), #AdminUserGroup, '');
}
No comments:
Post a Comment