Role SynchronizationMode

Last post 06-15-2006 8:03 AM by rodneyjoyce. 3 replies.

Sort Posts:

  • Role SynchronizationMode

    05-16-2005, 2:55 PM
    • Contributor
      6,080 point Contributor
    • rodneyjoyce
    • Member since 10-23-2002, 11:45 PM
    • London
    • Posts 1,216
    Hi

    I wonder if someone could enlighten me as to what this does in the Membership stuff?
    I was looking through the core AddRole stuff and I noticed if's doing some membership provider stuff - when would I want to be synchronising if I was adding a role?

    Rodney

  • Re: Role SynchronizationMode

    05-16-2005, 4:24 PM
    • Contributor
      6,080 point Contributor
    • rodneyjoyce
    • Member since 10-23-2002, 11:45 PM
    • London
    • Posts 1,216
    and in particular, what does this bit of code do (in core RoleController)

                    If Not SynchronizationMode Then
                        Common.Globals.SetApplicationName(objRoleInfo.PortalID)
                        Microsoft.ScalableHosting.Security.Roles.CreateRole(objRoleInfo.RoleName)
                    End If

    If I added a user to a role with code and create a tab, would I have to do anything else to give them access to it? Occassionally I get an Access Denied on the target tab, but when I refresh it allows the user to view it, so it is almost like there is a split second where the rights are not fully assigned?

    Rodney

  • Re: Role SynchronizationMode

    05-29-2006, 9:25 PM
    • Member
      259 point Member
    • MNF
    • Member since 07-25-2005, 12:15 AM
    • Posts 72

    I've posted my answer here.

  • Re: Role SynchronizationMode

    06-15-2006, 8:03 AM
    • Contributor
      6,080 point Contributor
    • rodneyjoyce
    • Member since 10-23-2002, 11:45 PM
    • London
    • Posts 1,216
    Thanks Michael - even if it is a year too late ;)

    Rodney

Page 1 of 1 (4 items)