Im trying to use a simple @UserRoles Hidewhen on a Column View and it is just not working. Is there something Im missing? Ive played with it ten different ways and still nothing.
!@If(@UserRoles = “admin”)
The Column is displaying a Icon to reference it as a certain type of document for Administrators… Other uses dont need to see it and since I cant seem to hide the column from web users I just thought I’d do it by roles and no such luck any help would be great…