Search Results for

    Show / Hide Table of Contents
    View Source

    Class IdentityExtensions

    Contains extension methods that enhance identity-related operations.

    Inheritance
    object
    Namespace: Umbraco.Extensions
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public static class IdentityExtensions

    Methods

    View Source

    ToErrorMessage(IEnumerable<IdentityError>)

    Converts a collection of Microsoft.AspNetCore.Identity.IdentityError objects into a single error message string.

    Declaration
    public static string ToErrorMessage(this IEnumerable<IdentityError> errors)
    Parameters
    Type Name Description
    IEnumerable<IdentityError> errors

    The collection of identity errors to convert. Cannot be null.

    Returns
    Type Description
    string

    A single string containing all error descriptions, separated by commas.

    Exceptions
    Type Condition
    ArgumentNullException

    Thrown if errors is null.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX