Skip to content

Kirby 4.2.0

$user->id()

Returns the user id

$user->id(): string

Return type

string

Parent class

Kirby\Cms\User