Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Display hostname and username on Intranet

Status
Not open for further replies.
Mar 1, 2003
853
US
I would like to display the hostname (or computername) and username (or logonID) on our Intranet support page. Can some one tell me where I can download the samples or post the code here?

Thanks.


Robert Lin, MS-MVP, MCSE & CNE
Windows, Network and How to at
 
MrGreed,

Thank you for the help. I copied the code and saved it as asp file.When running it, I got the following error. Did I miss some things?

Error Type:
Microsoft VBScript runtime (0x800A01B6)
Object doesn't support this property or method: 'UserName'
/technet/tools/getusername.asp, line 6


Robert Lin, MS-MVP, MCSE & CNE
Windows, Network and How to at
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top