Function fusionauth_rust_client::apis::default_api::retrieve_user
source · pub async fn retrieve_user(
configuration: &Configuration,
username: Option<&str>,
x_fusion_auth_tenant_id: Option<&str>,
verification_id: Option<&str>,
change_password_id: Option<&str>,
email: Option<&str>,
login_id: Option<&str>
) -> Result<UserResponse, Error<RetrieveUserError>>
Expand description
Retrieves the user for the given username. OR Retrieves the user by a verificationId. The intended use of this API is to retrieve a user after the forgot password workflow has been initiated and you may not know the user’s email or username. OR Retrieves the user by a change password Id. The intended use of this API is to retrieve a user after the forgot password workflow has been initiated and you may not know the user’s email or username. OR Retrieves the user for the given Id. This method does not use an API key, instead it uses a JSON Web Token (JWT) for authentication. OR Retrieves the user for the given email. OR Retrieves the user for the loginId. The loginId can be either the username or the email.