Searching by user details

The same thing was asked here:

And here:

edit: The 2nd one is mentioning specifically the API so you can ignore this link, though it’s a bit of the same feature in core as the search uses the API.