How do I access values using kint()?
You can get the user entity from the proxy with AccountProxy::getAccount:

$entity = $account-&gt;getAccount();


And then the roles with User::getRoles:

$roles = $entity-&gt;getRoles;


If you don't need the entity for anything else in that method, it turns into a one-liner:

$roles = $account-&gt;getAccount()-&gt;getRoles();