Skip to content

Kirby 4.5.0

$auth->currentUserFromImpersonation()

Returns the currently impersonated user

$auth->currentUserFromImpersonation(): Kirby\Cms\User|null

Return type

Kirby\Cms\User|null

Parent class

Kirby\Cms\Auth