I am facing a problem regarding user role and permission while working on sharepoint 2010. Basically I need to show list items in which login user department match with list item department.
I am follow this link tutorial mentioned below,
It filter the department on button click instead of list page loading first time. How could i filter the list items based on user departments on list page load?