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