Skip to main content
SHOW AUTHENTICATION displays the authentication information of the current user or all users in the current cluster. Tip All users have the privilege to view their own authentication information. Only users with the user_admin role can view the authentication information of all users or the authentication information of specified users. A user that logs in through a security integration is not created in the database: the database creates a virtual user for its session. Such a user can view its own authentication information with SHOW AUTHENTICATION without FOR. It cannot be specified in FOR USERNAME, which accepts only users created in the database, and it is not returned by SHOW ALL AUTHENTICATION.

Syntax

Parameters

Output

Examples

Example 1: Display the authentication information of the current user.
Example 2: Display the authentication information of all users in the current cluster.
Example 3: Display the authentication information of a specified user.
Example 4: Display the authentication information of the current user, who logs in through the security integration ldap_si.