context show

Displays the user ID and domain ID used to establish the current authentication context. Also, specifies whether the domain is the management domain or a domain other than the management domain.

Does not require a login or authentication to use.

context show

Options

None.

Return codes

Examples

  • The following example shows local authentication, like the previous example, except the command in issued interactively:
    pdadmin sec_master> login -l
    
    pdadmin local> context show
    The output is like:
    The user is logged in to the local system

  • The following example shows authentication context information for a user who is logged in to the management domain (non-local authentication).
    c:\> pdadmin -a sec_master -p mypwd -m
    
    pdadmin sec_master> context show
    The output is like:
    User: sec_master
    Domain: Default
    The user is logged into the management domain

  • The following example shows authentication context information for the testdomain_admin administrator who logs in interactively to a domain (testdomain) other than the management domain:
    pdadmin> login -a testdomain_admin -p testpwd -d testdomain 
    
    pdadmin testdomain_admin@testdomain_admin> context show

    The output is like:

      User: testdomain_admin
      Domain: testdomain
      The user is not logged in to the management domain

    See also

    domain show
    user show
    login
    logout

    Parent topic: pdadmin commands