Custom Role Provider

Discussion in 'ASP .Net' started by CK, Jul 25, 2006.

  1. CK

    CK Guest

    Does anyone have any experience with this? We have an exisitng sql database
    with user and role info. I need to write a custom role provider to use this
    data. Does anyone have any examples of this being done? I have googled it
    and I see on MSDN an XMLReadOnlyRoleProvider. I need something similiar to
    this. When writing a custom role provider, does the developer write the
    ADO.NET code in the methods to retrieve the user and role info? My only
    experience with Membership and Roles are the prebuilt SqlRoleProvider &
    SqlMembershipProvider. These are implemented using almost no code so I can't
    really see what's going on behind the scenes. Thanks for any advice, links,
    and or code.

    Regards,
    ~CK
     
    CK, Jul 25, 2006
    #1
    1. Advertising

  2. CK

    Winista Guest

    See this link for basic information about custom membership provider. You
    can use same technique to write custom role provider.

    http://www.netomatix.com/development/custommembershipprovider.aspx


    "CK" <> wrote in message
    news:1yqxg.137750$...
    > Does anyone have any experience with this? We have an exisitng sql
    > database with user and role info. I need to write a custom role provider
    > to use this data. Does anyone have any examples of this being done? I have
    > googled it and I see on MSDN an XMLReadOnlyRoleProvider. I need something
    > similiar to this. When writing a custom role provider, does the developer
    > write the ADO.NET code in the methods to retrieve the user and role info?
    > My only experience with Membership and Roles are the prebuilt
    > SqlRoleProvider & SqlMembershipProvider. These are implemented using
    > almost no code so I can't really see what's going on behind the scenes.
    > Thanks for any advice, links, and or code.
    >
    > Regards,
    > ~CK
    >
     
    Winista, Jul 25, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?QmVuIFIu?=

    debug a custom membership and role provider?

    =?Utf-8?B?QmVuIFIu?=, Mar 27, 2006, in forum: ASP .Net
    Replies:
    5
    Views:
    3,907
    =?Utf-8?B?dWxyaWNoIHNjaHVtYWNoZXI=?=
    May 17, 2006
  2. Alias
    Replies:
    5
    Views:
    710
    =?Utf-8?B?TWlsb3N6IFNrYWxlY2tpIFtNQ0FEXQ==?=
    Feb 18, 2007
  3. Tom Van den Brandt

    Custom role provider not working

    Tom Van den Brandt, May 31, 2007, in forum: ASP .Net
    Replies:
    8
    Views:
    5,617
    rwiethorn
    Jun 11, 2007
  4. sloan
    Replies:
    1
    Views:
    561
    Chad Scharf
    Jul 3, 2007
  5. =?Utf-8?B?QXJuZQ==?=

    Authorization with custom role provider

    =?Utf-8?B?QXJuZQ==?=, Aug 17, 2007, in forum: ASP .Net
    Replies:
    1
    Views:
    468
    =?Utf-8?B?TGFkaXNsYXYgTXJua2E=?=
    Aug 17, 2007
Loading...

Share This Page