DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   ASP (http://www.daniweb.com/forums/forum62.html)
-   -   getting email adress from logon_user (http://www.daniweb.com/forums/thread8270.html)

edwin Jul 21st, 2004 8:34 am
getting email adress from logon_user
 
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

Lafinboy Jul 30th, 2004 8:00 am
Re: getting email adress from logon_user
 
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?

edwin Aug 3rd, 2004 3:58 am
Re: getting email adress from logon_user
 
Quote:

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.

Lafinboy Aug 3rd, 2004 7:25 am
Re: getting email adress from logon_user
 
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.


All times are GMT -4. The time now is 2:02 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC