DB2: IDs / Users and the privileges
select substr(authid,1,20) as authid
, authidtype
, privilege
, grantable
, substr(objectschema,1,12) as objectschema
, substr(objectname,1,30) as objectname
, objecttype
from sysibmadm.privileges
where objectschema not like 'SYS%'
Comments
Post a Comment