SQL helps:
select ROLENAME from PSROLECLASS where CLASSID='[the_permission_list]';Then we can grant user the role from the result.
insert into PSROLEUSER values ('[user_id]', '[role_name]', '[dynamic_sw]')======== To overview all permission lists assigned to a USER. ========
select RU.ROLEUSER, RU.ROLENAME, RC.CLASSID from PSROLEUSER RU, PSROLECLASS RC where RU.ROLENAME=RC.ROLENAME and RU.ROLEUSER='PS'
No comments:
Post a Comment