Copied to clipboard

Flag this post as spam?

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


  • Bas Schouten 135 posts 233 karma points
    Oct 13, 2010 @ 11:02
    Bas Schouten
    0

    MemberGroup

    Is it possible to get the id of the membergroup of the current logged in member?

  • Richard Soeteman 4035 posts 12842 karma points MVP
    Oct 13, 2010 @ 12:02
    Richard Soeteman
    0

    Hi Bas,

    Why do you want the Id. You can do Roles.GetRolesForUser(); to get a list of all the assigned membergroups for the logged in member

    Cheers,

    Richard

  • Bas Schouten 135 posts 233 karma points
    Oct 13, 2010 @ 13:11
    Bas Schouten
    0

    Hi Richard,

    Thanx for your reply.

    I want to make fields visible based on membergroup with xslt.

    Cheers,

    Bas

  • Richard Soeteman 4035 posts 12842 karma points MVP
    Oct 13, 2010 @ 13:44
    Richard Soeteman
    0

    Ah didn't see the forum titlle XSLT. Sorry about that. I think you need to create an XSLT Extension that returns the MemberGroup data that you then can use in your xslt like umbrao.library:.....

    Cheers,

    Richard

  • Bas Schouten 135 posts 233 karma points
    Oct 13, 2010 @ 14:25
    Bas Schouten
    0

    Thanx Richard,

    I will look for the Extensions.

    Cheers,

     Bas

     

Please Sign in or register to post replies

Write your reply to:

Draft