List of the roles this user has.
Type: array
File
- drupal/core/lib/Drupal/Core/Session/UserSession.php, line 38
- Contains \Drupal\Core\Session\UserSession.
Class
- UserSession
- An implementation of the user account interface for the global user.
Namespace
Drupal\Core\Session
Code
public $roles;