RE: I feel it makes sense NOT to use custom membership & role provider



Whatever "floats your boat". Sometimes if you already have a custom setup
that doesn't lend well to the existing providers, it may be better to roll
your own.
-- Peter
http://www.eggheadcafe.com
unBlog: http://petesbloggerama.blogspot.com
BlogMetaFinder: http://www.blogmetafinder.com



"alexandis@xxxxxxxxx" wrote:

We have tables of logins (users), that differs much from standard
microsoft structure - we don't use control question/answer, date
fields, etc. But instead we have several additional fields.

I expanded membership class and it works for logging in, but going
further - creating user - I must make following in CreateUserWizard
template:

1) create 'users' record filling standard microsoft fields and ignore
those I don't use (mentioned above), i.e. put nulls, "", mindate,
etc...
2) update this record, initializing it with MY fields

So, one db operation operation is splitted. It looks ugly...

Concerning role provider: they offer user2role with userName and
roleName fields! But in this case I don't have relationship between
tables, because userName is not a primary key in users table (ID is,
but ID is integer).

I've decided to make custom login control and NOT to use custom
membership provider and role provider.

I ~hope~ it's correct decision. But I'd like to hear objections, until
it's too late :) and good article about further process... maybe there
is one from the person who took the same decision. Is there much work
to go without standard login control and provider? Would it be good to
have classes similar to the one I've already made as custom providers?
Maybe I could just change them and adopt for use as NOT provider-
classes?


.



Relevant Pages

  • RE: WebPart Personalization Blob Deserialize Error
    ... you're writing your custom code to load binary data ... personalization provider or customize the existing one will you need to ... Microsoft MSDN Online Support Lead ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • Re: Problem implimenting a Custom Active Directory Role Provider
    ... worker process in debug menu (use IISAPP from prompt to sort out what ... AD and users in custom database, ... administration so that you can add custom provider member/roles to the ... accessible through Forms Authentication and cannot use Windows Authentication ...
    (microsoft.public.sharepoint.portalserver.development)
  • Re: using custom database for membership and rolls ?
    ... if you have a custom database...and you've written a custom membership ... provider, you don't need any setup tool. ... This is how to use Access (Jet database) for membership. ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: Sharing Users, but not roles between Applications
    ... -- the provider name and type would be replaced with your custom provider ... UnBlog: ... public class EconcordiaSqlRoleProvider: SqlRoleProvider ... I want to use that connection for my custom methods ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Extending MembershipUser
    ... So is there any particular custom types used in your membership provider ... make them in a separate class library project (include ... | succeeds (i.e., instances of my custom MembershipUser class are created, ...
    (microsoft.public.dotnet.framework.aspnet)

Loading