Copied to clipboard

Flag this post as spam?

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


  • Giorgos Grispos 145 posts 179 karma points
    May 30, 2011 @ 10:30
    Giorgos Grispos
    0

    Get all members by specific group in XSLT

    Ηello all,

    Using the ucomponents members extension 

    ucomponents.members:GetMembersByGroupName('Editors')

    I am able to get the username of all editors however what I ecaxtly need is their ids (memberId). Is there any way to acheive that via XSLT. Any other ideas how to approach that result would be welcome.

    Thanks, Giorgos

  • Palle Hansen 143 posts 396 karma points
    Aug 12, 2011 @ 08:33
    Palle Hansen
    0

    Hi Giorgos,

    I was woundering if you got a solution for your problem. I've got the same problem. Only get the login name using ucomponents.members:GetMembersByGroupName('Editors')

    Looking forward to hear.

    Best regards
    Palle

  • Dirk De Grave 4539 posts 6017 karma points MVP 3x admin c-trib
    Aug 12, 2011 @ 09:17
    Dirk De Grave
    0

    Giorgos,

    GetMembersByGroupName('name') will only return the usernames, so no luck with this method and no other xslt extension exists to fetch the memberid as well. But should be straightforward to write your own xslt extension to return id's instead of usernames (or both). Grab the ucomponents source and write your own extension based on the ucomponents code...

     

    Cheers,

    /Dirk

Please Sign in or register to post replies

Write your reply to:

Draft