Search Results for

    Show / Hide Table of Contents
    View Source

    Class DisableUserController

    Inheritance
    System.Object
    ManagementApiControllerBase
    UserOrCurrentUserControllerBase
    UserControllerBase
    Namespace: Umbraco.Cms.Api.Management.Controllers.User
    Assembly: Umbraco.Cms.Api.Management.dll
    Syntax
    public class DisableUserController : UserControllerBase

    Constructors

    View Source

    DisableUserController(IAuthorizationService, IUserService, IBackOfficeSecurityAccessor)

    Declaration
    public DisableUserController(IAuthorizationService authorizationService, IUserService userService, IBackOfficeSecurityAccessor backOfficeSecurityAccessor)
    Parameters
    Type Name Description
    IAuthorizationService authorizationService
    IUserService userService
    IBackOfficeSecurityAccessor backOfficeSecurityAccessor

    Methods

    View Source

    DisableUsers(CancellationToken, DisableUserRequestModel)

    Declaration
    public async Task<IActionResult> DisableUsers(CancellationToken cancellationToken, DisableUserRequestModel model)
    Parameters
    Type Name Description
    CancellationToken cancellationToken
    DisableUserRequestModel model
    Returns
    Type Description
    Task<IActionResult>
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • DisableUserController(IAuthorizationService, IUserService, IBackOfficeSecurityAccessor)
    • Methods
      • DisableUsers(CancellationToken, DisableUserRequestModel)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX