Aspnetdb: Can an administrator be limited to users he/she created?

Discussion in 'ASP .Net' started by Bogdan, Mar 17, 2008.

  1. Bogdan

    Bogdan Guest

    Using built-in membership, is there a way to make sure that an administrator
    (assuming that a site has multiple administrators) can delete/edit only
    users that he/she created?
    Any suggestions will be appreciated.

    Thanks,
    Bogdan
     
    Bogdan, Mar 17, 2008
    #1
    1. Advertisements

  2. Not with the built-in provider "as-is", since no data about "who" created a
    user is stored. You'd need to make a custom provider class that added this
    information.
    -- Peter
    Site: http://www.eggheadcafe.com
    UnBlog: http://petesbloggerama.blogspot.com
    Short Urls & more: http://ittyurl.net


    "Bogdan" wrote:

    > Using built-in membership, is there a way to make sure that an administrator
    > (assuming that a site has multiple administrators) can delete/edit only
    > users that he/she created?
    > Any suggestions will be appreciated.
    >
    > Thanks,
    > Bogdan
    >
    >
    >
    >
     
    Peter Bromberg [C# MVP], Mar 17, 2008
    #2
    1. Advertisements

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. szosty

    users and aspnetdb.mdf

    szosty, Apr 20, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    1,641
    Swanand Mokashi
    Apr 20, 2006
  2. Adrienne Boswell

    She's coming 'round the mountain

    Adrienne Boswell, Aug 23, 2007, in forum: HTML
    Replies:
    4
    Views:
    387
    Travis Newbury
    Aug 23, 2007
  3. R.A.M.
    Replies:
    0
    Views:
    545
    R.A.M.
    Oct 22, 2007
  4. nosrah

    Who is she?

    nosrah, Oct 11, 2010, in forum: Python
    Replies:
    0
    Views:
    289
    nosrah
    Oct 11, 2010
  5. nosrah

    Who is she?

    nosrah, Oct 11, 2010, in forum: C Programming
    Replies:
    2
    Views:
    316
    Sir Placenta teh Brave
    Oct 12, 2010
  6. Isaac
    Replies:
    0
    Views:
    507
    Isaac
    Oct 20, 2010
  7. Fabio
    Replies:
    3
    Views:
    141
    Key Bern
    May 22, 2007
  8. Marc-André Cournoyer

    [ANN] Thin 1.0.0 That's What She Said release

    Marc-André Cournoyer, Sep 30, 2008, in forum: Ruby
    Replies:
    1
    Views:
    201
    Wayne Seguin
    Oct 1, 2008
Loading...