This question is similar to [Symfony2: Getting the list of user roles in FormBuilder](https://stackoverflow.com/questions/11246774/symfony2-getting-the-list-of-user-roles-in-formbuilder) but the answers there are geared towards any form but my question is specific to a form created by the User Bundle. Problem is that the UserBundle Controller creates the form like this:

```
$form = $this->container->get('fos_user.profile.form');

```

Because of this I don't know how to send roles to my Form Type.