RSS Forums RSS
Please support our ASP advertiser: Lunarpages ASP Web Hosting
Views: 16490 | Replies: 3 | Thread Tools  Display Modes
Reply
Join Date: Jul 2004
Posts: 2
Reputation: edwin is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
edwin edwin is offline Offline
Newbie Poster

Help getting email adress from logon_user

  #1  
Jul 21st, 2004
We are making a form for our intranet site but we want the email adress from the logged on user who send us the request form. Because we have over 2000 users and about 70% don't know their email adress we want to make a field where the users email adress automaticily appears when they open the form.

Does anyone have a script

Thnx

Edwin
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jul 2004
Location: Sydney, Australia
Posts: 166
Reputation: Lafinboy is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 7
Lafinboy's Avatar
Lafinboy Lafinboy is offline Offline
Junior Poster

Re: getting email adress from logon_user

  #2  
Jul 30th, 2004
Where are you storing your users email addresses? Are you running the intranet off a db and/or are you using Active Directory services?

How are you currently identifying the user? How would you identify the user to select their email?
If I've been a help please confirm by clicking the Add to Lafinboy's Reputation link in the header of this reply.

Lafinboy Productions
:: Website Design :: Website Development ::

Reply With Quote  
Join Date: Jul 2004
Posts: 2
Reputation: edwin is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
edwin edwin is offline Offline
Newbie Poster

Re: getting email adress from logon_user

  #3  
Aug 3rd, 2004
Originally Posted by Lafinboy
Where are you storing your users email addresses? Are you running the intranet off a db and/or are you using Active Directory services?

How are you currently identifying the user? How would you identify the user to select their email?

hi lafinboy,

The users-email adresses are store in active directory services, Exchange 2000.
This is a form for users to report a mallfunction of hard- or software. If the form is fill in, they can send it to us, all the information will be store in an access db. They can send it, but we cannot give auto-reply because we don't know the email-adress.

thnx for your reply, i hope you have an answer. I can send the script if your like.
Reply With Quote  
Join Date: Jul 2004
Location: Sydney, Australia
Posts: 166
Reputation: Lafinboy is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 7
Lafinboy's Avatar
Lafinboy Lafinboy is offline Offline
Junior Poster

Re: getting email adress from logon_user

  #4  
Aug 3rd, 2004
Hey edwin,

Check out this article on returning information on a user through active directory and ADO. It is written in VB, but should be easy enough to convert to VBScript/ASP (if that's what you're using).

I haven't had too much to do with Active Directory so can't give you a straight solution. Hope the link helps you.
If I've been a help please confirm by clicking the Add to Lafinboy's Reputation link in the header of this reply.

Lafinboy Productions
:: Website Design :: Website Development ::

Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 5:03 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC