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

Popular posts from this blog

Oracle: To clean up WRI$_ADV_OBJECTS