SqlServerMembershipProvider bug or "feature"

Discussion in 'ASP .Net Security' started by scottrudy, Apr 21, 2006.

  1. scottrudy

    scottrudy Guest

    I was trying to set up adhoc providers so that users can be managed for
    sub-sites by the sub-site owners. I figured I would just copy the existing
    user over from the default provider so that I could maintain the same UserId
    across applications. However, I am a little confused about lines 103 and 126
    (if you select modify from the SSMS context menu) in the stored procedure
    aspnet_Membership_CreateUser. The key to the Membership and Users tables is
    ApplicationId and UserId, yet an exception is thrown if two different
    ApplicationIds use the same UserId. Following the same pattern, then the
    LastUpdatedDate is updated for the user for all applications.
     
    scottrudy, Apr 21, 2006
    #1
    1. Advertising

  2. scottrudy

    scottrudy Guest

    Please disregard...lack of sleep

    "scottrudy" wrote:

    > I was trying to set up adhoc providers so that users can be managed for
    > sub-sites by the sub-site owners. I figured I would just copy the existing
    > user over from the default provider so that I could maintain the same UserId
    > across applications. However, I am a little confused about lines 103 and 126
    > (if you select modify from the SSMS context menu) in the stored procedure
    > aspnet_Membership_CreateUser. The key to the Membership and Users tables is
    > ApplicationId and UserId, yet an exception is thrown if two different
    > ApplicationIds use the same UserId. Following the same pattern, then the
    > LastUpdatedDate is updated for the user for all applications.
     
    scottrudy, Apr 21, 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. Shel Blauman [MSFT]

    Re: feature or bug?

    Shel Blauman [MSFT], Aug 11, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    406
    Shel Blauman [MSFT]
    Aug 11, 2003
  2. Replies:
    14
    Views:
    1,478
  3. Replies:
    6
    Views:
    1,959
  4. Meelis Lilbok

    Bug or Feature ;)

    Meelis Lilbok, Mar 30, 2006, in forum: ASP .Net
    Replies:
    4
    Views:
    425
    Juan T. Llibre
    Mar 30, 2006
  5. robic0
    Replies:
    7
    Views:
    106
    Samwyse
    Jan 24, 2006
Loading...

Share This Page