| | |
How to display all ASP.Net ProfileProvider User Profiles ??
Please support our ASP.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Mar 2008
Posts: 10
Reputation:
Solved Threads: 0
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 :
In PropertyValuesString :
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:
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.
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 :
ASP.NET Syntax (Toggle Plain Text)
LastName:S:164:11:UserType:S:175:4:Language
In PropertyValuesString :
ASP.NET Syntax (Toggle Plain Text)
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:
ASP.NET Syntax (Toggle Plain Text)
<profile enabled="true"> <properties> <add name="MemberId" defaultValue="0" type="System.Int32"/> <add name="UserType" type="System.String"/> <group name="Core"/> </properties> </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.
![]() |
Other Threads in the ASP.NET Forum
- Previous Thread: Not able to display all image from DB except 1st image.
- Next Thread: related to marquee & gridview
| Thread Tools | Search this Thread |
.net 2.0 activexcontrol ajax alltypeofvideos appliances application asp asp.net bc30451 beginner bottomasp.net box browser button c# cac checkbox commonfunctions control dataaccesslayer database datagridview datagridviewcheckbox datalist deployment development dgv dialog dropdownlist dynamic dynamically edit embeddingactivexcontrol expose feedback fileuploader fill findcontrol flash form formatdecimal formview google gridview gudi iis image javascript listbox login microsoft mobile mouse mssql news novell numerical opera panelmasterpagebuttoncontrols parent radio redirect registration relationaldatabases reportemail save schoolproject search security select sessionvariables silverlight smartcard smoobjects software sql-server sqlserver2005 ssl suse textbox tracking treeview unauthorized validatedate validation vb.net video videos view vista visualstudio web webapplications webdevelopemnt webdevelopment webprogramming webservice xsl youareanotmemberofthedebuggerusers





