Skip to content

Kirby 3.5.7.1

$users->role()

$users->role(string $role): Kirby\Cms\Users

Parameters

Name Type Default
$role * string

Return type

Kirby\Cms\Users

This method does not modify the existing $users object but returns a new object with the changes applied. Learn more →

Parent class

Kirby\Cms\Users