Introducing User Group Concept in Enterprise Manager

Introducing User Group Concept in Enterprise Manager

  
Hi,

I need to have user groups in my application.
Each of these groups will have a set of roles, I've created an espace to do this.

My problem is that I can't understand how can I add to the user the roles of the group that he belongs.

Does anyone know how to do this outside Enterprise Manager?