I am creating an app where there should be a list view of users of that org. I have created a custom object which looks up to the User object. Based on some criteria of the current logged in user for example gender of the user(custom field in custom object), I want a list view to show users of that gender only. And there can be other criteria too.
So what are the ways to achieve this type of scenario?
I am still new to Salesforce. ;)