Thanks for the reply Steve, but the property on the object itself is only returning the first of the selected member groups.
So for example I have a node that is limited to financial and testing in the property limitToGroups.
When I hit the code below:
var memberGroupStrs = Model.Content.GetPropertyValue<string>("limitToGroups")
memberGroupStrs is only equal to whichever group I selected first.
So if financial was the first group selected on the memberGroup Picker but testing was also selected on it, memberGroupStrs would only be equal to "financial".
Member Group Picker is only returning the first group
Basically it only ever returns the first group picked as a single string.
So I do the below and I only ever get the first result.
Anybody had similar or any solutions?
Hi Damien,
This works for me - any use??!
If you just need the group name don't bother with the service (as it might be hitting the DB to do the getbyname.
Thanks for the reply Steve, but the property on the object itself is only returning the first of the selected member groups.
So for example I have a node that is limited to financial and testing in the property limitToGroups.
When I hit the code below:
memberGroupStrs is only equal to whichever group I selected first. So if financial was the first group selected on the memberGroup Picker but testing was also selected on it, memberGroupStrs would only be equal to "financial".
is working on a reply...