How to display all ASP.Net ProfileProvider User Profiles ??

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Mar 2008
Posts: 10
Reputation: -mk- is an unknown quantity at this point 
Solved Threads: 0
-mk- -mk- is offline Offline
Newbie Poster

How to display all ASP.Net ProfileProvider User Profiles ??

 
0
  #1
Jan 5th, 2009
Hi,

I am working with a website that using the AspNetSqlMembershipProvider to store the user profiles data.

I have discover that the User Profiles data are stored in the database named ASPNETDB.MDF, in the table aspnet_profile.

The profile data are in : column PropertyNames and PropertyValuesString. It has the Data I want, but it is joint together with other profile data.

for example :

In PropertyNames :
  1. LastName:S:164:11:UserType:S:175:4:Language

In PropertyValuesString :
  1. JohnsonUserEnglish

Johnson is the value for LastName

User is the value for Usertype

English is the value for Language.

In my webconfig, I have something like this under the profile tag:

  1. <profile enabled="true">
  2. <properties>
  3. <add name="MemberId" defaultValue="0" type="System.Int32"/>
  4.  
  5. <add name="UserType" type="System.String"/>
  6.  
  7. <group name="Core"/>
  8.  
  9. </properties>
  10. </profile>

I need to you display all the User Data in a page based on their profile data. And need to separate them according to their UserType values.

Like this :

Admin Users

Username Email UserType
1) xxxx xxx Admin
2) yyyy yyyy Admin

....

Normal Users

Username Email UserType
1) xxxx xxx User
2) yyyy yyyy User

....



Thanks and Regards.
Last edited by -mk-; Jan 5th, 2009 at 2:07 am.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC