Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

asp.net default MembershipProvider and accessing it through code

0 views
Skip to first unread message

Andy B

unread,
May 1, 2008, 12:50:20 PM5/1/08
to
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]

unread,
May 1, 2008, 2:13:20 PM5/1/08
to
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_b...@sbcglobal.net> wrote in message
news:%2327ppt6...@TK2MSFTNGP06.phx.gbl...

Andy B

unread,
May 1, 2008, 5:11:41 PM5/1/08
to
Sorry... mistype...


"Peter Bromberg [C# MVP]" <pbro...@nospammin.yahoo.com> wrote in message
news:BC394831-907B-4178...@microsoft.com...

0 new messages