I have
multi user application. First user have a permission to work with a department “Dep1”.
Second user have a permission to work with a department “Dep2”.
I want the
expression new XPCollection<Department>()
returns “Dep1” for the first user and returns “Dep2”
for the second user.
Where
should I inject code for filtering data according user permission?