Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Check email address

Description

The GetEmailAddressAvailability() method is used to check the availability of an email from the system.

Interface

IUserManager

Syntax

await _userManager.GetEmailAddressAvailability(string email, UserType userType)

Returns

Task<EmailAddressAvailabilityState>

Example

Code Block
languagec#
var email = "user@domain.com";
var availability = await _organizationManager.GetEmailAddressAvailability(email, UserType.All);