Skip to content

Kirby 3.9.8

$useractions->changeRole()

Changes the user role

$useractions->changeRole(string $role): Kirby\Cms\UserActions

Parameters

Name Type Default
$role * string

Return type

Kirby\Cms\UserActions

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

Parent class

Kirby\Cms\UserActions