locked
Active Directory, get logged in user's information RRS feed

  • Question

  • Hello,

    My company uses active directory accounts to log into the workstations and I'm trying to create a web app that will display the current user's information.  In the past I have just passed a service account (that had read prevs on the network)'s username and password to do this and all was good, but now we are moving to CAC (Common Access Cards) and moving away from usernames and passwords.  My service account is still here, but there has been talk about making them CAC'd too, which would mean that I couldn't use it's name and password to read active directory.

    My question is this:  Is there any way that I can pull the current logged on user's AD token in a .aspx page and use it to query AD?  None of the users have passwords so I can't prompt for them, or I would just do that.

    Thank you!

    • Moved by Harry Zhu Thursday, September 17, 2009 2:23 AM (From:Visual C# General)
    Tuesday, September 15, 2009 2:08 PM

Answers

  • Hi,

    For the questions relating to asp.net ,please post to:
    http://forums.asp.net/   .
    I recommend you create a new thread at
    http://forums.asp.net/93.aspx  .  That is the Active Directory forum queue in ASP.NET Forums.   You will get better and quicker responses from the experts there.

    Thanks,
    Harry


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    • Marked as answer by joe_coolish Monday, December 6, 2010 4:23 PM
    Wednesday, September 16, 2009 8:14 AM