如何检查用户的 DB2 SYSADM 或 SYSCTRL 授权

2022-01-14 00:00:00 db2 java

如何检查用户的 DB2 SYSADM 或 SYSCTRL 授权.

How to check DB2 SYSADM or SYSCTRL authorization for a user.

我需要通过 DB2 权限来验证用户/密码来创建/删除数据库.有什么具体的命令吗?

I need to verify user/password by means of DB2 authority to create/drop database. Is there any specific command for this?

我需要使用一个命令验证用户/密码,该命令告诉用户是否有权创建和删除数据库(意味着在触发数据库创建命令之前尝试验证).

I need to verify user/password with a command that tells whether the user has the authority to create and drop database (means attempt to validate before firing database Create command) or not.

推荐答案

db2 connect
db2 get authorizations

相关文章