Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 13th, 2006, 01:19 PM
Registered User
 
Join Date: Jan 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Get current username

Is there any way I can pick up the value of cs-username in ASP? I'm building a small Intranet and need to make certain pages only available to certain users. (cs-username is being logged to the IIS Log). It's a Microsoft environment - Internet Explorer, IIS5 and ASP3. I am aware of HTTP_AUTH_USER but because office politics it's not available to me.
 
Old January 14th, 2006, 10:33 PM
Friend of Wrox
 
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

request.servervariables("LOGON_USER")

Can also look at:
http://www.codeproject.com/vbscript/userinfo.asp


Wind is your friend
Matt





Similar Threads
Thread Thread Starter Forum Replies Last Post
username.website.us williamwyndham General .NET 1 May 27th, 2008 09:20 PM
Retrieve Username Suresh62 Classic ASP Databases 0 March 7th, 2008 01:19 AM
objNetwork.UserName Sebastiaan Classic ASP Basics 1 August 9th, 2004 11:10 PM
Username Changes Ben Horne Forum and Wrox.com Feedback 2 March 12th, 2004 12:20 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.