Get User by login name (globally)
Deprecated: use user service v2 ListUsers with LoginNameQuery instead.
Get a user by login name searched over all organizations. The request only returns data if the login name matches exactly.
curl -X GET "https://loading/global/users/_by_login_name"{
"user": {
"id": "string",
"details": {
"sequence": 0,
"creationDate": "2023-01-15T01:30:15.01Z",
"changeDate": "2023-01-15T01:30:15.01Z",
"resourceOwner": "string"
},
"state": "USER_STATE_UNSPECIFIED",
"userName": "string",
"loginNames": [
"string"
],
"preferredLoginName": "string",
"human": {
"profile": {
"firstName": "string",
"lastName": "string",
"nickName": "string",
"displayName": "string",
"preferredLanguage": "string",
"gender": "GENDER_UNSPECIFIED",
"avatarUrl": "string"
},
"email": {
"email": "string",
"isEmailVerified": true
},
"phone": {
"phone": "string",
"isPhoneVerified": true
},
"passwordChanged": "2023-01-15T01:30:15.01Z"
}
}
}Was this page helpful?
Get User Authentication Factors (2FA/MFA)
Get User Authentication Factors (2FA/MFA): Deprecated: use [user service v2 ListAuthenticationMethodTypes](/reference/api/user/zitadel.user.v2.UserService.ListAuthenticationMethodTypes) instead. Get a list of authentication factors the user...
Get User Email (Human)
Get User Email (Human): Deprecated: use [user service v2 GetUserByID](/reference/api/user/zitadel.user.v2.UserService.GetUserByID) instead. Get the email address and the verification state of the address.