SQL that I find useful in many occasions. It will return a list of permissions that are assigned to a specific user. SELECT d.oprid, d.oprdefndesc, c.roleuser, a.rolename, a.classid,b.classdefndescFROM psroleclass a, psclassdefn b, psroleuser c, psop…