Vishan S Gill

Vishan S Gill

  • NA
  • 15
  • 13.7k

ASP.NET Profile provider custom fields

Jul 18 2011 2:30 PM
Hi all,

I'm new to ASP.NET and I'm trying to learn it by developing a website for my friend. Here is what I've got so far:

I used the build-in Membership provider to create user and assign roles.
I've also managed to create an admin section to manage users and their roles.

The problem I have is that each user will fall under a department category, for example user 'A' once registered will be assigned a role by the admin. User 'A' will also need to be assigned to a department.

I know that using the Profile provider the user can select the department when they register. However, I want the admin to assign them to "one or many" departments. The content displayed to user 'A' will be based first on his role and then his department.

Can anyone help me figure this out? This is similar field to role where user can be part of one to many roles.

Thanks in advance!

Regards,
Vish



Answers (3)