Re: Active Directory

From: bzhang (bzhang_at_hotmail.com)
Date: 02/28/04

  • Next message: Alek Davis: "Re: Who am I impersonating?"
    Date: Sat, 28 Feb 2004 12:42:20 -0500
    
    

    You can use Request.ServerVariables["logon_user"], but there're no guarantee
    that it will give you the result all the time. Espeically if you have
    non-domain or non-window users.

    "Galore" <galore@ig.com.br> wrote in message
    news:Ot9dmCi$DHA.2292@TK2MSFTNGP12.phx.gbl...
    > Thanks for your reply, but the main problem is not get information from
    AD,
    > it's how can I know which user has accessed the ASP.NET page.
    >
    > []'s
    >
    > "Beginner" <bzhang@hotmail.com> wrote in message
    > news:uJ62$Gh$DHA.3828@TK2MSFTNGP10.phx.gbl...
    > > You can have one resource account that has AD query previlige and
    > something
    > > like
    > >
    > > DirecotryEntry entry = new DirectoryEntry(path, username, password)
    > >
    > > "Galore" <galore@ig.com.br> wrote in message
    > > news:Oe3fU4Y$DHA.1456@TK2MSFTNGP09.phx.gbl...
    > > > Hello,
    > > >
    > > > I need to get all the AD information from a user that access a
    intranet
    > > > ASP.NET page.Does anyone can tell me how to do it? (the user can't put
    > its
    > > > login and password on a text box and validate it, I've got to get it
    by
    > > > code)
    > > >
    > > > Thanks
    > > >
    > > >
    > >
    > >
    >
    >


  • Next message: Alek Davis: "Re: Who am I impersonating?"