Getting member groups from member id (or any other method)
Hi, has anyone found a good method for finding out what member groups the current member belongs to from the xslt level? I had a look and found a work around from 2 years ago but was wondering if a better solution had been found, or whether a function had been added to the library that I am just unable to find.
Basically I have some properties on a page that I only want to be displayed if someone is a member of the 'Staff' member group. Open to suggestions on other methods of doing this also.
Getting member groups from member id (or any other method)
Hi, has anyone found a good method for finding out what member groups the current member belongs to from the xslt level? I had a look and found a work around from 2 years ago but was wondering if a better solution had been found, or whether a function had been added to the library that I am just unable to find.
Basically I have some properties on a page that I only want to be displayed if someone is a member of the 'Staff' member group. Open to suggestions on other methods of doing this also.
Hi Samuel,
We have an few XSLT extensions in uComponents for member groups...
http://ucomponents.codeplex.com/wikipage?title=Members
To find out if a member is part of a group... (returns boolean)
or to get a list of all the groups that a specific member belongs to... (returns an XML nodeset)
If you have any questions - let me know.
Cheers, Lee.
thanks Lee!
is working on a reply...