Facing prob with finding user specific role?

hear i have user and cmuser , it is returning the role which it find first ,but my actual role is not necessarely that.it maybe in between the list of roles…how to found that…