get user and group for mongo from map
get user and group for mongo from map