Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / July 2007

Tip: Looking for answers? Try searching our database.

User Administration in ASP.NET 2.0

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
me@home.com - 07 Jul 2007 14:57 GMT
Im currently writing a website which utilizes the built in user
management and membership of ASP.NET 2.0.

My users login via the included login control and everything works
nicely. The problem I have is that I need to include a custom admin
console for the eventual owners of the website, just for simple tasks
like changing user details, adding users, deleting users etc.

I know that this can be done via the admin console when in Visual
Studio, but is there a way to do it via a custom console without
manually writing everything? I don't really want to mess up the
tables/data in the aspnet tables.

Thanks in advance for any help on the subject.
Riki - 07 Jul 2007 15:08 GMT
> Im currently writing a website which utilizes the built in user
> management and membership of ASP.NET 2.0.
[quoted text clipped - 10 lines]
>
> Thanks in advance for any help on the subject.

Using the Membership and Roles namespaces, you can write a page that enables
you to add users, delete users, reset passwords and add users to roles.

It's a little bit of work, but not too complex.

Signature

Riki

David R. Longnecker - 07 Jul 2007 17:08 GMT
Scott Guthrie's blogged a while ago and has kept up a good list of resources
regarding managing memberships information.

http://weblogs.asp.net/scottgu/archive/2006/02/24/ASP.NET-2.0-Membership_2C00_-R
oles_2C00_-Forms-Authentication_2C00_-and-Security-Resources-.aspx


Thankfully, most of the logic for managing create, update, delete, and group
memberships are built into the Membership objects and protects you from messing
up the tables and raw data.  Spend a bit of time exploring http://msdn2.microsoft.com/en-us/library/f1kyba5e.aspx 
for the properties and methods available to you.

HTH.

-dl

--
David R. Longnecker
http://blog.tiredstudent.com

> Im currently writing a website which utilizes the built in user
> management and membership of ASP.NET 2.0.
[quoted text clipped - 10 lines]
>
> Thanks in advance for any help on the subject.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.