Passing LOGON USER to the DB

Discussion in 'ASP .Net' started by Patrick.O.Ige, Jan 24, 2005.

  1. How can i send LOGON_USER or User.Identity.Name to the Database?
    I'm working on a survey which is intranet based with Windows
    Authentication.
    I can get the current user by calling LOGON_USER or User.Identity.Name !
    But i want to pass(the current user) to a table in DB!
    I was thinking of ussing hidden textboxes like so :-
    <input type="hidden" runat=server>
    Is it a good approach..???
    ** I want the SUBMIT button at the end of the survey to send the LOGON_USER
    (using LOGON_USER or User.Identity.Name) to a table in the database!
    Any ideas appreciated!
    Pls forward any resources available!
     
    Patrick.O.Ige, Jan 24, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ken Dopierala Jr.

    Re: How to get Windows logon user credential?

    Ken Dopierala Jr., Aug 28, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    4,435
    cindy liu
    Aug 28, 2003
  2. venkat

    Retrieve logon user name from ADSI

    venkat, Nov 6, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    459
    venkat
    Nov 6, 2003
  3. Pradeep Kumar C
    Replies:
    3
    Views:
    613
    Steven Cheng[MSFT]
    May 25, 2004
  4. Patrick Olurotimi Ige

    Passing LOGON USER to the DB

    Patrick Olurotimi Ige, Jan 24, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    495
    MWells
    Jan 24, 2005
  5. Kjell Kristiansson
    Replies:
    0
    Views:
    290
    Kjell Kristiansson
    Nov 30, 2005
Loading...

Share This Page