$users->findByKey() Finds a user in the collection by id or email address kirby/src/Cms/Users.php#L94 $users->findByKey(string $key): Kirby\Cms\User|null Parameters Name Type Default $key * string – Return type Kirby\Cms\User|null Parent class Kirby\Cms\Users