I need to know, how to get organization unit based on member name(user) or groups name?
One can find see member(user) by using organization unit name. But viceversa how to find organization unit name by member name(user) or group name
I don't think there is an easy way/snippet, you will have to iterate over all Organizations/Units and find the given user.
Bhuwaneshwar, have you already seen this discussion, How to list Users that belong to an organizational unit?
Seems like your question is related to this.