Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


pull username and other AD information

 
Logged in as: Guest
arrSession:exec spGetSession 2,3,53800
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> ASP >> pull username and other AD information
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 pull username and other AD information - 11/25/2007 3:18:54 PM   
  militarymedic

 

Posts: 1
Score: 0
Joined: 11/25/2007
Status: offline
Hello,
Have a project tossed in my lap that needs to pull the current username from IE and get additional info from the AD fields, exchange fields.The overall page will be combining that data to create a registration entry in a SQL DB. The exisiting page pulled all the information from a smart card.  By looking over this page theoretically the only changes needed are replacing user info variable data with AD user info data.

Right out in front, I am not that familiar with ASP and my searches have come up with every flavor of ASP known, which just gets me royally confused.
I have come across some sites which looked good and I was able to follow their threads until I tried the code and for whatever reason nothing happened.  Most of the posts contained various flavors of ASP code.  Some contained VB but despite the contributor saying "try this", it was beyond me how it was supposed to be integrated into a ASP page. 

Depending on your views, the fact that I'm using Vista and VS 2005 could be good or bad, but thats what I have to work with.  If there are known issues with IE in Vista and properly viewing projects like this please let me know

If anyone could suggest a basic way to get the current username, and connect to a AD server.  Once I can see how the basis of this goes I can probably catch on for adding what AD fields I want.
The biggest help would also be showing how the actual code would be integrated into the asp page, not just the code itself.  I'm very visual when trying to learn things so the more examples the better.

The IIS server is set to integrated auth only, no anonymous access.

Thanks!
Jeremy

< Message edited by militarymedic -- 11/25/2007 3:25:42 PM >
 
 
Post #: 1
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> ASP >> pull username and other AD information Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts