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

    Constructors

    View Source

    UmbracoUserConfirmation()

    Declaration
    public UmbracoUserConfirmation()

    Methods

    View Source

    IsConfirmedAsync(UserManager<TUser>, TUser)

    Determines asynchronously whether the specified user has been confirmed, based on the user's IsApproved property.

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

    The user manager instance.

    TUser user

    The user whose confirmation status is being checked.

    Returns
    Type Description
    Task<bool>

    A task that represents the asynchronous operation. The task result contains true if the user's IsApproved property is true; otherwise, false.

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