How to get the room member list?

Hello!

I want to create a chat room, and i watched the test used chatRoster.dataProvider = chatRoom which can get all the informations of room members.But i just want to get the nickname only, i dont know how to separate the members’’ nickname from the informations.