473,387 Members | 1,925 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

membership; roles

I want to have a login page where the new user self-registers, giving some
simple info like Real Estate Agent #.

Do I need to used the membershiop/roles thing, or profiles?

Are profiles part of the membership thing, or how are they tied together?
Thanks
Oct 23 '06 #1
5 1645
The Membership provider is like an authentication table, you provide
credentials and you get authentication because you are "a member".
Profile is more for storage of ancillary data - your address, phone, email,
site preferences etc. They can work together.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"JP.Gantlin" wrote:
I want to have a login page where the new user self-registers, giving some
simple info like Real Estate Agent #.

Do I need to used the membershiop/roles thing, or profiles?

Are profiles part of the membership thing, or how are they tied together?
Thanks
Oct 24 '06 #2
Membership and Profile are used for authentication and user-specific data
storage respectively. As you know ASP.NET 2.0 provides separate API to deal
with these two.

For you case, I guess you have to use both Membership and Profile.

Here is a good example on Membership (and Roles too) and Profile in ASP.NET
2.0: http://aspnet.4guysfromrolla.com/articles/120705-1.aspx
"JP.Gantlin" <bi********@bitefdfme.netwrote in message
news:OU**************@TK2MSFTNGP03.phx.gbl...
I want to have a login page where the new user self-registers, giving some
simple info like Real Estate Agent #.

Do I need to used the membershiop/roles thing, or profiles?

Are profiles part of the membership thing, or how are they tied together?
Thanks
Oct 24 '06 #3
thanks to both of you
Oct 24 '06 #4
We can use Membership without Roles or Profiles.
We cannot use Roles or Profiles without Membership.
We can use Roles without Profiles.
We can use Profiles without Roles.

Membership and Role data store respective data in separate tables and
separate columns. Profile data is stored in a separate table but stuffs all
the profile data for each member into a single column of delineated data
which is difficult to query and get at and can also become an impact on
performance.

There's some kind of methodology to use Profiles so the profile data is also
stored in separate tables and separate columns which can then be indexed and
queried more efficiently but I do not know the name of the process or how to
use it.

<%= Clinton Gallagher
NET csgallagher AT metromilwaukee.com
URL http://clintongallagher.metromilwaukee.com/
MAP 43°2'17"N 88°2'37"W : 43°2'17"N 88°2'37"W

"JP.Gantlin" <bi********@bitefdfme.netwrote in message
news:OU**************@TK2MSFTNGP03.phx.gbl...
>I want to have a login page where the new user self-registers, giving some
simple info like Real Estate Agent #.

Do I need to used the membershiop/roles thing, or profiles?

Are profiles part of the membership thing, or how are they tied together?
Thanks


Oct 24 '06 #5
One correction;

// strike "or Profiles"
We cannot use Roles or Profiles without Membership.
// add
We can use Profiles for anonymous users without Membership.

<%= Clinton Gallagher

"clintonG" <cs*********@REMOVETHISTEXTmetromilwaukee.comwro te in message
news:Oi**************@TK2MSFTNGP04.phx.gbl...
We can use Membership without Roles or Profiles.
We cannot use Roles or Profiles without Membership.
We can use Roles without Profiles.
We can use Profiles without Roles.

Membership and Role data store respective data in separate tables and
separate columns. Profile data is stored in a separate table but stuffs
all the profile data for each member into a single column of delineated
data which is difficult to query and get at and can also become an impact
on performance.

There's some kind of methodology to use Profiles so the profile data is
also stored in separate tables and separate columns which can then be
indexed and queried more efficiently but I do not know the name of the
process or how to use it.

<%= Clinton Gallagher
NET csgallagher AT metromilwaukee.com
URL http://clintongallagher.metromilwaukee.com/
MAP 43°2'17"N 88°2'37"W : 43°2'17"N 88°2'37"W

"JP.Gantlin" <bi********@bitefdfme.netwrote in message
news:OU**************@TK2MSFTNGP03.phx.gbl...
>>I want to have a login page where the new user self-registers, giving some
simple info like Real Estate Agent #.

Do I need to used the membershiop/roles thing, or profiles?

Are profiles part of the membership thing, or how are they tied together?
Thanks



Oct 25 '06 #6

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

Similar topics

0
by: Jack | last post by:
Hello, I need some help in getting my simple web app to work. I can't seem to get the configuration of the Membership/Roles working by pointing my website to a SQL 2005 database as opposed to...
6
by: Scatir | last post by:
Hi, I have a membership problem I couldn't resolve. I have set up membership as most of tutorial instructed, and I am able to log on, but cannot stay log on for some reason. ex: when I log on, the...
5
by: Coder | last post by:
I am not sure if I should use the new membership and roles feature in ASP.NET 2.0. My user information is large, and does not fit in the default implementation tables. I don't know if it is worth...
4
by: AC | last post by:
Hi there. My asp.net 2.0 development website uses roles to control access to sections of my site, configured using the asp.net configuration tool, which is great. Except that isn't available once...
5
by: Mahernoz | last post by:
Hi Everyone! I have a problem here. I have used the latest asp.net membership & profiles functionality in my site. I have 2 roles admin and user. I also have a user named admin. Now, my...
3
by: Glenn | last post by:
My current classic-ASP site has users, projects, roles and the 2.0 membership looks like a perfect fit, but I'm having trouble finding examples of how to have users that belong to different...
1
by: =?Utf-8?B?aGZkZXY=?= | last post by:
Hello, I have a web application that makes use of the SQL Membership and Role providers. My app has admin screens to manage users (membership), roles, and supplementary user data. I have just...
1
by: =?Utf-8?B?ZVByaW50?= | last post by:
Asp.Net v2.0 I have created a web application and I am using it from a single website and database. The web application has different ‘portals’ – each independent and I am using the...
3
by: dm3281 | last post by:
Hello -- I need to write an ASP.NET 2.0 application for our clients to use to login and verify file transmissions. Each client will need their own logon, in addition to a way to assign each...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...

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.