Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • overflew 87 posts 110 karma points
    Jul 21, 2010 @ 23:57
    overflew
    0

    Adding Users to Membership Groups?

    Is it possible to have logged in Users access pages on the website restricted to particular Member Groups?

    The majority of the content on my current site is restricted to ~3 different member groups - I'd like to allow logged in Users to be able to press the Link to Document link, and see the currently published version, and generally navigate the site.

    Is it also possible to retrieve the User name in the website, to display in the 'you are logged in as'?

    (We haven't extended Canvas support for all our DataTypes yet, and I'm getting some error about <% tags, so we can't offer that just yet).

    Thanks.

  • skiltz 501 posts 701 karma points
    Jul 22, 2010 @ 00:01
    skiltz
    0

    Yes.  You can right mouse click on a node and hit "public access" this will give you an option of choosing which member groups have access to the particular page.

    In your template you can normally do something like <%=User.Identity.Name%> to display the currently logged in member name..

  • overflew 87 posts 110 karma points
    Jul 22, 2010 @ 00:11
    overflew
    0

    Thanks Skiltz. To be more specific - I am referring the the backoffice User types. When they click 'Link to Document', the front-end website believes they are logged out. This is determined with calls to Request.IsAuthenticated & HttpContext.Current.User.Identity - I assume the front & back ends may be cleanly divided to the 2 separate membership providers.

    (The protected pages are set using the 'Public Access', yes)

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies