$user->roles() Returns all available roles for this user, that the authenticated user can change to. kirby/src/Cms/User.php#L583 $user->roles(): Kirby\Cms\Roles Return type Kirby\Cms\Roles Parent class Kirby\Cms\User