Command Reference > pmrep Command Reference > ShowConnectionInfo


Returns the repository name and user information for the current connection.
Use the ShowConnectionInfo command in interactive mode. When you connect to a repository in interactive mode, pmrep keeps the connection information in memory until you exit the repository or connect to a different repository.
When you use the ShowConnectionInfo command in command line mode, a message indicating failure to execute the command is given. pmrep does not keep connection information in command line mode. The ShowConnectionInfo command does not connect to the repository.
The ShowConnectionInfo command uses the following syntax:
It returns information similar to the following:
Connected to Repository MyRepository in MyDomain as user MyUserName