asp.net default MembershipProvider and accessing it through code

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Andy B

    asp.net default MembershipProvider and accessing it through code

    In Visual Studio 2008, I plan on creating the default membership provider
    and rolls in a custom database (through the web admin tool). I need to know
    how I would access user/login info and general things like that through
    code. More exactly, I have an sql query that will require the userID of the
    currently logged in user as a filter for different records. It will also
    require that I insert the userID of the created user into the record. So, I
    guess I will need to create users on the fly through custom code as well.
    Where can I get tutorials and stuff on these ideas?



  • Peter Bromberg [C# MVP]

    #2
    Re: asp.net default MembershipProvi der and accessing it through code

    Check the QUICKSTARTS section at the ASP.NET web site; it covers most all of
    this stuff very nicely.
    BTW that would be "roles", not "rolls" - rolls are what you have with
    dinner.
    Best of luck,
    Peter
    "Andy B" <a_borka@sbcglo bal.netwrote in message
    news:%2327ppt6q IHA.4476@TK2MSF TNGP06.phx.gbl. ..
    In Visual Studio 2008, I plan on creating the default membership provider
    and rolls in a custom database (through the web admin tool). I need to
    know how I would access user/login info and general things like that
    through code. More exactly, I have an sql query that will require the
    userID of the currently logged in user as a filter for different records.
    It will also require that I insert the userID of the created user into the
    record. So, I guess I will need to create users on the fly through custom
    code as well. Where can I get tutorials and stuff on these ideas?
    >
    >
    >

    Comment

    • Andy B

      #3
      Re: asp.net default MembershipProvi der and accessing it through code

      Sorry... mistype...


      "Peter Bromberg [C# MVP]" <pbromberg@nosp ammin.yahoo.com wrote in message
      news:BC394831-907B-4178-A39A-7FB8D8716BED@mi crosoft.com...
      Check the QUICKSTARTS section at the ASP.NET web site; it covers most all
      of this stuff very nicely.
      BTW that would be "roles", not "rolls" - rolls are what you have with
      dinner.
      Best of luck,
      Peter
      "Andy B" <a_borka@sbcglo bal.netwrote in message
      news:%2327ppt6q IHA.4476@TK2MSF TNGP06.phx.gbl. ..
      >In Visual Studio 2008, I plan on creating the default membership provider
      >and rolls in a custom database (through the web admin tool). I need to
      >know how I would access user/login info and general things like that
      >through code. More exactly, I have an sql query that will require the
      >userID of the currently logged in user as a filter for different records.
      >It will also require that I insert the userID of the created user into
      >the record. So, I guess I will need to create users on the fly through
      >custom code as well. Where can I get tutorials and stuff on these ideas?
      >>
      >>
      >>
      >

      Comment

      Working...