does the membership.validateuser get the user loged in?

Last post 08-29-2007 2:31 AM by XiaoYong Dai – MSFT. 2 replies.

Sort Posts:

  • does the membership.validateuser get the user loged in?

    08-26-2007, 1:08 PM
    • Member
      113 point Member
    • bcweed966
    • Member since 11-27-2006, 2:40 AM
    • Posts 657

    does the membership.validateuser function when it returns true; does it mean that the user is then logedin?

    then at this point can I access the personalization properties that are stored in the profile? and how should I retreive the personalization properties that are stored in the profile?

    is it just a mether of calling -> profile.propertyname ?

    marc

  • Re: does the membership.validateuser get the user loged in?

    08-26-2007, 3:58 PM
    Answer
    • Contributor
      2,308 point Contributor
    • millet
    • Member since 09-10-2004, 7:07 PM
    • Posts 579

     Yes, it logs in user. Yes you access it like Profile.FirstName.

    __
    Please mark post as answer if it helps, if not come back and ask again!
  • Re: does the membership.validateuser get the user loged in?

    08-29-2007, 2:31 AM
    Answer

    bcweed966:

    does the membership.validateuser function when it returns true; does it mean that the user is then logedin?

    Hi

    You mean authenticate user? Here you can find more information about Authentication in ASP.NET 2.0

    http://support.microsoft.com/kb/301240

    BTW, Profile can be access when you are not login. for example:

     ProfileCommon p = (ProfileCommon)ProfileCommon.Create("UserNameA", true);
            p.FirstName ="";
            p.LastName = "";
            p.Save();

    Best Regards
    XiaoYong Dai
    Microsoft Online Community Support

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Page 1 of 1 (3 items)