Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > User Administration in ASP.NET 2.0

Reply
Thread Tools

User Administration in ASP.NET 2.0

 
 
me@home.com
Guest
Posts: n/a
 
      07-07-2007
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.
 
Reply With Quote
 
 
 
 
Riki
Guest
Posts: n/a
 
      07-07-2007
wrote:
> 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.


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.

--

Riki


 
Reply With Quote
 
 
 
 
David R. Longnecker
Guest
Posts: n/a
 
      07-07-2007
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/archi...esources-.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.
>
> 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.
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot delete user with Web Site Administration Tool =?Utf-8?B?Um9nZXIgTWFydGlu?= ASP .Net 3 03-29-2007 02:02 AM
Remote User Administration Jeppe Jespersen ASP .Net Security 2 08-07-2006 10:05 PM
Web site administration tool functionality for the end user John ASP .Net Security 2 12-17-2005 01:54 AM
Web site administration tool functionality for the end user John ASP .Net Web Controls 2 12-17-2005 01:54 AM
Web site administration tool functionality for the end user John ASP .Net 2 12-17-2005 01:54 AM



Advertisments