Who Am I / Where Am I Utility (User & Server Info via CORBA)

Author: Tripp W Black

Created: 09/05/2002 at 09:52 PM

 

Category:
Notes Developer Tips
Java

Who Am I Utility - Returns Current User's Username, Server's Name, Server's
Version, and Server's Platform


Uses the command line format:
java whoAmI server user password

where:
server = the server's name (e.g. www.mindwatering.com)
user = the username used to authenticate
password = the user's http password


Attached is the source java file and a class file compiled with the jdk
1.1.8.
(See attached file: whoAmI.class)
(See attached file: whoAmI.java)

whoAmI.classwhoAmI.java

previous page