Getting the data for a user who is logged in using the Login controls

Discussion in 'ASP .Net' started by Nathan Sokalski, Jul 13, 2008.

  1. After a user has logged in using the Login controls, how do I get the
    information for that user (such as username, password, email) for use in
    code?
    --
    Nathan Sokalski

    http://www.nathansokalski.com/
     
    Nathan Sokalski, Jul 13, 2008
    #1
    1. Advertising

  2. Nathan Sokalski

    Munna Guest

    Munna, Jul 13, 2008
    #2
    1. Advertising

  3. Nathan Sokalski, Jul 13, 2008
    #3
  4. Keep in mind that the authentication token will be set only with the next
    http request. If you need to use the user properties in the same request
    with the Logon button click, you will need to call Membership.GetUser({user
    name from the login control}).

    --
    Eliyahu Goldin,
    Software Developer
    Microsoft MVP [ASP.NET]
    http://msmvps.com/blogs/egoldin
    http://usableasp.net


    "Nathan Sokalski" <> wrote in message
    news:%...
    > After a user has logged in using the Login controls, how do I get the
    > information for that user (such as username, password, email) for use in
    > code?
    > --
    > Nathan Sokalski
    >
    > http://www.nathansokalski.com/
    >
     
    Eliyahu Goldin, Jul 14, 2008
    #4
    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. Ganesh Ramamurthy

    Getting Logged in User Name

    Ganesh Ramamurthy, Dec 8, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    1,936
    Patrick Olurotimi Ige
    Dec 8, 2004
  2. keithb
    Replies:
    0
    Views:
    650
    keithb
    Feb 16, 2006
  3. =?Utf-8?B?ZXN3YW5zb24=?=

    getting currently logged in user asp.net c sharp class

    =?Utf-8?B?ZXN3YW5zb24=?=, Feb 28, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    5,801
    =?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
    Feb 28, 2006
  4. Replies:
    1
    Views:
    966
    =?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
    Apr 12, 2007
  5. Nathan Sokalski
    Replies:
    3
    Views:
    122
    Eliyahu Goldin
    Jul 14, 2008
Loading...

Share This Page