473,472 Members | 2,124 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Using custom user tables for personalization?

Hi,

I am thinking about using the personalization features of .net 2.0 but I
can't figure out the following. If I use the standard features of
personalization, I will have users in the auto-generated profile-tables. But
I have my own user tables with many more fields. How do I sync these users
with the profile tables? I have thousands of users in my tables but if I
can't use these tables for personalization it seems quite useless...

Thank you for helping
Kees

Apr 27 '07 #1
2 1551
You'll need to write your own Profile Provider that provides properties for
all your "extra" columns in your Profile table.

You do this by creating a custom ProfileProvider deriving from the base
Profile provider class. Here is a sample from Scott Guthrie's blog:

http://weblogs.asp.net/scottgu/archi...10/435038.aspx

Peter

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Kees de Winter" wrote:
Hi,

I am thinking about using the personalization features of .net 2.0 but I
can't figure out the following. If I use the standard features of
personalization, I will have users in the auto-generated profile-tables. But
I have my own user tables with many more fields. How do I sync these users
with the profile tables? I have thousands of users in my tables but if I
can't use these tables for personalization it seems quite useless...

Thank you for helping
Kees

Apr 27 '07 #2
Ok thanks!

"Peter Bromberg [C# MVP]" <pb*******@yahoo.yabbadabbadoo.comwrote in
message news:6A**********************************@microsof t.com...
You'll need to write your own Profile Provider that provides properties
for
all your "extra" columns in your Profile table.

You do this by creating a custom ProfileProvider deriving from the base
Profile provider class. Here is a sample from Scott Guthrie's blog:

http://weblogs.asp.net/scottgu/archi...10/435038.aspx

Peter

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Kees de Winter" wrote:
Hi,

I am thinking about using the personalization features of .net 2.0 but I
can't figure out the following. If I use the standard features of
personalization, I will have users in the auto-generated profile-tables.
But
I have my own user tables with many more fields. How do I sync these
users
with the profile tables? I have thousands of users in my tables but if I
can't use these tables for personalization it seems quite useless...

Thank you for helping
Kees



Apr 27 '07 #3

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

Similar topics

3
by: Random Person | last post by:
Does anyone know how to use VBA to relink tables between two MS Access databases? We have two databases, one with VBA code and the other with data tables. The tables are referenced by linked...
19
by: James Fortune | last post by:
I have a lot of respect for David Fenton and Allen Browne, but I don't understand why people who know how to write code to completely replace a front end do not write something that will automate...
2
by: Mike Hutton | last post by:
I have a rather odd problem. I have a SP which uses temp. tables along the way, and then returns a table of results: CREATE PROCEDURE dbo.usp_myproc( @pNameList VARCHAR(6000) ) AS
0
by: Danny Tuppeny | last post by:
Hi all, I'm after some advice... I'm building a website which will have a login etc.. The Personalization in asp.net 2 stuff looks like it'll save me some time (login controls etc.), however,...
4
by: techsupport | last post by:
I have some experience with .NET Remoting, as well as ASP.NET 2.0, and have been wanting to remote a custom membership and profile provider. I want to take advantage of the new controls in ASP.NET...
3
by: Electrified Research | last post by:
So I've been playing with WebParts. Very cool stuff. The personalization scope has "Shared" and "User". "Shared" allows for an admin to customize a page and how other users see that page. ...
0
by: khairulfnd | last post by:
i m trying to create a user and add a role to the user and also add its personalization like first name and last name, all at the same time but there is a problem with the personalization. Since on...
1
by: khairulfnd | last post by:
i m trying to create a user and add a role to the user and also add its personalization like first name and last name, all at the same time but there is a problem with the personalization. Since on...
6
by: Jonathan Wood | last post by:
Although this will be a challenge at my level of ASP.NET knowledge, I'm thinking I should implement my own membership provider class. Looking over the methods I must implement, a number of...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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...
1
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...
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...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
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?

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.