Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
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 June 4th, 2007, 12:04 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: abu dbabi, , United Arab Emirates.
Posts: 518
Thanks: 0
Thanked 0 Times in 0 Posts
Default Domains user name


How can get domains user name in asp ?

logon_user retrieve by

user_id=Request.ServerVariables("logon_user")

I want to retreive the user name (first,last or display name)
from the domains ?

regards
Mateen





 
Old June 4th, 2007, 01:06 AM
Friend of Wrox
Points: 6,664, Level: 34
Points: 6,664, Level: 34 Points: 6,664, Level: 34 Points: 6,664, Level: 34
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2004
Location: Sydney, NSW, Australia.
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

Forgive me, am confused.......Did you not just answer your own question??

Just incase I have mis understood your post find a full list at:
http://www.w3schools.com/asp/coll_servervariables.asp

Wind is your friend
Matt
 
Old June 4th, 2007, 04:58 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: abu dbabi, , United Arab Emirates.
Posts: 518
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for response.

I check the servervariable.
actually, our users logon to server by user id like empployee number
i.e. p00016175

we can get the logon_user it retrieve user id p00016175
we want to known about his name, first,last or full name.
which is store in domains server.

all logon users are register/member of domains server.

how can get/retreieve user name (first, last name or full name)
from the domains server ?

regards
Mateen




 
Old June 4th, 2007, 06:17 PM
Friend of Wrox
Points: 6,664, Level: 34
Points: 6,664, Level: 34 Points: 6,664, Level: 34 Points: 6,664, Level: 34
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2004
Location: Sydney, NSW, Australia.
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

you can not do this with serverVariables. If you are in a windows environment running AD reaserch 'LDAP binding to AD' - Its complicated, here is a post on it:

http://p2p.wrox.com/topic.asp?TOPIC_...erms=LDAP,bind

Wind is your friend
Matt




Similar Threads
Thread Thread Starter Forum Replies Last Post
Url Sub domains Razza1973 Classic ASP Professional 0 May 5th, 2006 09:01 AM
Keep session between different domains CenturiMan ASP.NET 2.0 Professional 0 March 21st, 2006 10:19 AM
Login Across Domains andyj00 ASP.NET 1.0 and 1.1 Professional 0 September 20th, 2005 05:21 PM
SQL over 2 domains regulator SQL Server 2000 0 June 13th, 2005 08:58 AM
single login for different domains dhaywirex Classic ASP Basics 6 April 29th, 2004 01:53 AM





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