Search Results for

    Show / Hide Table of Contents
    View Source

    Class MembersErrorDescriber

    Inheritance
    object
    IdentityErrorDescriber
    UmbracoErrorDescriberBase
    Namespace: Umbraco.Cms.Core.Security
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public class MembersErrorDescriber : UmbracoErrorDescriberBase

    Constructors

    View Source

    MembersErrorDescriber(ILocalizedTextService)

    Declaration
    public MembersErrorDescriber(ILocalizedTextService textService)
    Parameters
    Type Name Description
    ILocalizedTextService textService

    Methods

    View Source

    DuplicateRoleName(string)

    Returns an Microsoft.AspNetCore.Identity.IdentityError indicating the specified role name already exists.

    Declaration
    public override IdentityError DuplicateRoleName(string role)
    Parameters
    Type Name Description
    string role

    The duplicate role.

    Returns
    Type Description
    IdentityError

    An Microsoft.AspNetCore.Identity.IdentityError indicating the specific role role name already exists.

    View Source

    InvalidRoleName(string?)

    Returns an Microsoft.AspNetCore.Identity.IdentityError indicating the specified role name is invalid.

    Declaration
    public override IdentityError InvalidRoleName(string? role)
    Parameters
    Type Name Description
    string role

    The invalid role.

    Returns
    Type Description
    IdentityError

    An Microsoft.AspNetCore.Identity.IdentityError indicating the specific role role name is invalid.

    View Source

    LoginAlreadyAssociated()

    Returns an Microsoft.AspNetCore.Identity.IdentityError indicating an external login is already associated with an account.

    Declaration
    public override IdentityError LoginAlreadyAssociated()
    Returns
    Type Description
    IdentityError

    An Microsoft.AspNetCore.Identity.IdentityError indicating an external login is already associated with an account.

    View Source

    UserAlreadyHasPassword()

    Returns an Microsoft.AspNetCore.Identity.IdentityError indicating a user already has a password.

    Declaration
    public override IdentityError UserAlreadyHasPassword()
    Returns
    Type Description
    IdentityError

    An Microsoft.AspNetCore.Identity.IdentityError indicating a user already has a password.

    View Source

    UserAlreadyInRole(string)

    Returns an Microsoft.AspNetCore.Identity.IdentityError indicating a user is already in the specified role.

    Declaration
    public override IdentityError UserAlreadyInRole(string role)
    Parameters
    Type Name Description
    string role

    The duplicate role.

    Returns
    Type Description
    IdentityError

    An Microsoft.AspNetCore.Identity.IdentityError indicating a user is already in the specified role.

    View Source

    UserLockoutNotEnabled()

    Returns an Microsoft.AspNetCore.Identity.IdentityError indicating user lockout is not enabled.

    Declaration
    public override IdentityError UserLockoutNotEnabled()
    Returns
    Type Description
    IdentityError

    An Microsoft.AspNetCore.Identity.IdentityError indicating user lockout is not enabled.

    View Source

    UserNotInRole(string)

    Returns an Microsoft.AspNetCore.Identity.IdentityError indicating a user is not in the specified role.

    Declaration
    public override IdentityError UserNotInRole(string role)
    Parameters
    Type Name Description
    string role

    The duplicate role.

    Returns
    Type Description
    IdentityError

    An Microsoft.AspNetCore.Identity.IdentityError indicating a user is not in the specified role.

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