Search Results for

    Show / Hide Table of Contents
    View Source

    Class UmbracoUserConfirmation<TUser>

    Confirms whether a user is approved or not

    Inheritance
    object
    DefaultUserConfirmation<TUser>
    Namespace: Umbraco.Cms.Core.Security
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public class UmbracoUserConfirmation<TUser> : DefaultUserConfirmation<TUser> where TUser : UmbracoIdentityUser
    Type Parameters
    Name Description
    TUser

    Methods

    View Source

    IsConfirmedAsync(UserManager<TUser>, TUser)

    Determines whether the specified user is confirmed.

    Declaration
    public override Task<bool> IsConfirmedAsync(UserManager<TUser> manager, TUser user)
    Parameters
    Type Name Description
    UserManager<TUser> manager

    The Microsoft.AspNetCore.Identity.UserManager<TUser> that can be used to retrieve user properties.

    TUser user

    The user.

    Returns
    Type Description
    Task<bool>

    The System.Threading.Tasks.Task that represents the asynchronous operation, containing the Microsoft.AspNetCore.Identity.IdentityResult of the confirmation operation.

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