Skip to content

Kirby 4.5.0

$user->isAdmin()

Checks if this user has the admin role

$user->isAdmin(): bool

Return type

bool

Parent class

Kirby\Cms\User