473,472 Members | 1,719 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

ASP.NET 2.0: Administering Users

Hope someone can help with this as I've been pulling my hair out. I'm
using the built in membership with sql server and trying to admin
users.

On my website, I have an admin section to administer users. It's nice
and easy if all I need to do is look at the data stored in the
aspnet_membership table.

But, I need to bring back extra information stored on the user accounts
like full name, company etc and display this in the datagrid. I'm sure
I can't be the only one needing to do this but I can't seem to find a
lot on it! I just wanted really one call to the database bringing all
this info back. I 'could' get around it by filling up a user list and
looping through it and pulling back profile data for each user... but
thats just nuts :-)

I have a feeling I'm just going to have to write up my own GetAllUsers
method and stored procedure as I also want to avoid storing the extra
user account data in the aspnet_profiles table too.

Anyone else running into this problem? I'd just like to know the best
approch for what I'm trying to achieve.

Thanks in advance,
Knoxy

Jun 21 '06 #1
2 991
complete solution for this problem:

http://peterkellner.net/?p=31

Knoxy wrote:
Hope someone can help with this as I've been pulling my hair out. I'm
using the built in membership with sql server and trying to admin
users.

On my website, I have an admin section to administer users. It's nice
and easy if all I need to do is look at the data stored in the
aspnet_membership table.

But, I need to bring back extra information stored on the user accounts
like full name, company etc and display this in the datagrid. I'm sure
I can't be the only one needing to do this but I can't seem to find a
lot on it! I just wanted really one call to the database bringing all
this info back. I 'could' get around it by filling up a user list and
looping through it and pulling back profile data for each user... but
thats just nuts :-)

I have a feeling I'm just going to have to write up my own GetAllUsers
method and stored procedure as I also want to avoid storing the extra
user account data in the aspnet_profiles table too.

Anyone else running into this problem? I'd just like to know the best
approch for what I'm trying to achieve.

Thanks in advance,
Knoxy


Jun 21 '06 #2
Cheers Peter, I'll have a look at that!

I was actually on your site this afternoon but I missed that piece :-)

Jun 21 '06 #3

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

Similar topics

4
by: zsh-users-help | last post by:
Hi! This is the ezmlm program. I'm managing the zsh-users@sunsite.dk mailing list. To confirm that you would like python-list@python.org removed from the zsh-users mailing list, please send...
3
by: John | last post by:
Hi Area there any .net classes to do the job of Web Site Administration Tool i.e. creating users, roles etc. via code? Thanks Regards
7
by: coolsti | last post by:
Hi, this is quite a newby question. I have years of experiences with administering MySQL databases on Linux using the mysql console application, ini files, and other non-GUI tools. Now I am...
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.