Skip to content

Kirby 4.4.1

$user->role()

Returns the user role

$user->role(): Kirby\Cms\Role

Return type

Kirby\Cms\Role

Parent class

Kirby\Cms\User