Hi all
I am using ILoveSharePoint's GetGroupsFromCurrentUser webservice which returns all SharePoint groups that the user is in. Anyhow, this is a secondary datasource. I need help writing the code to iterate through this repeating field. Then, I need to unhide a section based on whether or not they are in the group.
I have tried to populate a drop-down list with this information and use "Contains", "Is Equal to", "is present" to control the conditional formatting but it does not work.
I was thinking with something along the lines of <pseudo code>:
foreach(Group in GroupList)
{
If (Group == "Human Resources")
{
show hidden section
}
}
</pseudo code>
But I am not very proficient with C# and the XPathNavigators and such. Any help would be GREAT! Thanks in advance!