User.externalids already does that. `UserExternalId.get` is for use when you don't already have a User object, such as with login providers that start with the external id and then fetch the user account.