I use this to find out about the premissions in NS6. Maybe not what you are looking for, but it gives you a start.
select sr.name as 'Security Role',
sg.nameref as 'Display Group',
sp.name as 'Privilege'
from securityrole sr
join securityprivilegetrustee spt
on spt.trusteeguid = sr.trusteeguid
Join SecurityPrivilege sp
on sp.guid = spt.privilegeguid
join SecurityPrivilegeDisplayGroup sg
on sg.guid = sp.displaygroupguid
where sr.name like '%'
order by sr.name, sg.nameref