By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,606 Members | 2,019 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,606 IT Pros & Developers. It's quick & easy.

membership; roles

P: n/a
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
Share this Question
Share on Google+
5 Replies


P: n/a
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

P: n/a
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

P: n/a
thanks to both of you
Oct 24 '06 #4

P: n/a
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 432'17"N 882'37"W : 432'17"N 882'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

P: n/a
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 432'17"N 882'37"W : 432'17"N 882'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 discussion thread is closed

Replies have been disabled for this discussion.