IdentityResult Class

Definition

Represents the result of an identity operation.

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

Constructors

IdentityResult()

Properties

Errors

An IEnumerable<T> of IdentityError instances containing errors that occurred during the identity operation.

Succeeded

Flag indicating whether if the operation succeeded or not.

Success

Returns an IdentityResult indicating a successful identity operation.

Methods

Failed(IdentityError[])

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

ToString()

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

Applies to