SharePoint - how to hide value of a column or maybe change the backcolor when not a member of a group

Asked By jc dls on 22-Apr-13 11:51 PM
i converted my ListViewWP into a DataViewWP and added a C# scripts. My lists have 3 columns Title, Message and AllowedGroup. I need to hide the Message value of an item or maybe change the backcolor of it when the current user is not a member of the AllowedGroup specified. AllowedGroup accepts SP Group value. How can i write code that will hide the value of a column?