Forms Authenication - Getting User ID

Discussion in 'ASP .Net Security' started by Robert E. Flaherty, Apr 26, 2006.

  1. How do you retreive the user id from the persistent cookie when using forms
    authentication?
     
    Robert E. Flaherty, Apr 26, 2006
    #1
    1. Advertisements

  2. If Forms authentication is working correctly, you do this the same way you
    do with other authentication methods: Context.User.Identity.Name.

    Joe K.
     
    Joe Kaplan \(MVP - ADSI\), Apr 26, 2006
    #2
    1. Advertisements

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.