IdentityResult IdentityResult IdentityResult Class

Definition

Represents the result of an identity operation.

public class IdentityResult
type IdentityResult = class
Public Class IdentityResult
Inheritance
IdentityResultIdentityResultIdentityResult

Constructors

IdentityResult() IdentityResult() IdentityResult()

Properties

Errors Errors Errors

An IEnumerable<T> of IdentityErrors containing an errors that occurred during the identity operation.

Succeeded Succeeded Succeeded

Flag indicating whether if the operation succeeded or not.

Success Success Success

Returns an IdentityResult indicating a successful identity operation.

Methods

Failed(IdentityError[]) Failed(IdentityError[]) Failed(IdentityError[])

Creates an IdentityResult indicating a failed identity operation, with a list of errors if applicable.

ToString() ToString() ToString()

Converts the value of the current IdentityResult object to its equivalent string representation.

Applies to