473,406 Members | 2,377 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

User Administration in ASP.NET 2.0

me
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.
Jul 7 '07 #1
2 1429
me@home.com 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
Jul 7 '07 #2
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.

Jul 7 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: Google Mike | last post by:
You know, while working on my moonlight corporation's LAMP project at home this weekend, I couldn't help but wonder if people writing similar projects are solving similar problems with having to...
9
by: Shaun | last post by:
Anyone, I am trying to programmatically change user accounts in Windows NT 4. I am using Microsoft Visual Basic .NET 2003. The two things I am trying to do are as follows. 1. Set the User...
0
by: clintonG | last post by:
I applied aspnet_regsql to SQL2K which was working fine throughout Beta 2 development. After installing Visual Studio and SQL Express RTM my application has blown up. Logging in to the application...
2
by: John | last post by:
Hi Web site administration tool is great. How can I provide this functionality for the end user? I need the end user Admin to be able to list users and then change roles for any of the users or...
16
by: jblankenburg | last post by:
I am trying to deploy a simple web application to my client's production server, but it's not clear to me how MS planned on having the Security users managed without Studio. Certainly someone...
1
by: Anand | last post by:
Hi, I got the below error while trying create a user from the web site administration tool provided by Asp.NET. I'm using Active directory as a membership store. I could able to add and remove...
0
by: Lester Knutsen | last post by:
A two-day IBM Informix and DB2 User Group Technical Conference - Friday and Saturday, December 8-9, 2006 We are very please to announce our Keynote Speakers...
0
by: Lester Knutsen | last post by:
A two-day IBM Informix and DB2 User Group Technical Conference - Friday and Saturday, December 8-9, 2006 Location - Fairview Park Marriott, Falls Church, VA (near Washington D.C.)...
3
by: =?Utf-8?B?Um9nZXIgTWFydGlu?= | last post by:
When using the Web Site Administration Tool, I get the following error when trying to delete a user in a web application I configured to use membership, roles, and profiles: "An error was...
3
by: matias.cornejo | last post by:
I have a problem to startup de DB2 Admin. I read meny documentation in internet and nothing work, anybody know something??. I have DB2 UDB V8 fixpack 14 and AIX 5.2 x134 db2admin start SQL4409W...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.