Copied to clipboard

Flag this post as spam?

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


  • Inmedia 124 posts 176 karma points
    Sep 29, 2013 @ 14:18
    Inmedia
    0

    How to check if member has access?

    How can I check if a member has access to a page, and only list the pages that the member has access to?

    I know that I can use this XSLT:
    umbraco.library:HasAccess

    But have do I use that in Razor?

  • Jeavon Leopold 3074 posts 13632 karma points MVP 11x admin c-trib
    Sep 29, 2013 @ 16:01
    Jeavon Leopold
    100

    Hi, it depends if you are using a Razor Macro with DynamicNode or Mvc? Both solutions are shown in this forum thread

    Jeavon

  • Inmedia 124 posts 176 karma points
    Sep 30, 2013 @ 14:19
    Inmedia
    0

    That was exactly what I needed.... Thank you, Jeavon :)

  • Jeavon Leopold 3074 posts 13632 karma points MVP 11x admin c-trib
    Sep 30, 2013 @ 15:43
    Jeavon Leopold
    0

    Perfect :)

  • 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