This is not related with Php, but with the template hierarchy in WordPress.
You need to understand how WordPress works and how to develop a theme to do so.
I’m not sure if you are talking about the WordPress’ users or you are asking about a custom members listing. If it is the second choice it will be good to take a look at how to create a custom post type (members) and how to build the front-end page for it (archive-members.php and single-members.php).
Those are just cue, since I cannot explain everything about WordPress here.