I want to do the same thing. I have my users divided into various user groups. I want any user to be able to view other users based on which group they are in.
Let's say we have red team, blue team and yellow team. I want any team member to be able to click on a menu link and get a list of only blue team members.
I was able to figure out a way to do this with joomla1.6 by using their expanded user levels, but there were other limitations based on the newness of the software that forced me to use joomla1.5 instead. When I found K2 I thought maybe I could do the same thing, but I can't figure it out. I really need this and would be willing to use an unconventional method like a workaround if necessary.
Does anybody have any ideas?