logout
Discards any authentication credentials that are in effect.
Does not require a login or authentication to use.
logout
Options
None.
Return codes
- 0
- The command completed successfully.
- 1
- The command failed. When a command fails, the pdadmin command provides a description of the error and an error status code in hexadecimal format (for example, 0x14c012f2). See "Error messages" in the IBM Knowledge Center. This reference provides a list of the ISAM error messages by decimal or hexadecimal codes.
Examples
- The following example first shows a local login and then demonstrates how the prompt changes:
pdadmin login -l pdadmin local>
The following example demonstrates the logout command:
pdadmin local> logout
The following example displays:
- Context information about the user ID.
- Context information about the domain ID.
- Whether the domain is a management domain.
pdadmin domain1_admin@domain1> context show User: domain1_admin Domain: domain1 The user is not logged in to the management domain.The following example shows a logout command, and then displays context information after the logout command was issued:pdadmin domain1_admin@domain1> logout The user has been logged out and credentials have been discarded. pdadmin>context show No login information.
See also
exit or quit
login
context showParent topic: pdadmin commands