Copied to clipboard

Flag this post as spam?

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


  • Davide Oliva 35 posts 199 karma points
    May 25, 2013 @ 17:24
    Davide Oliva
    0

    Member groups

    Hi there, dear fellows!

    I would like to retrieve member groups the current member belongs via razor. Is it possible to do this?
    Thanks in advance and have a nice day.

    Davide

  • Davide Oliva 35 posts 199 karma points
    May 25, 2013 @ 18:15
    Davide Oliva
    100

    Sorry for the dumb question! :)

    I've found a solution just googling...

    foreach (MemberGroup mg in m.Groups.Values) {
     <li>@mg.Text</li>
    }
  • 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