Class BackOfficeRequirement
Authorization requirement for the BackOfficeHandler.
Inheritance
System.Object
Namespace: Umbraco.Cms.Api.Management.Security.Authorization.User
Assembly: Umbraco.Cms.Api.Management.dll
Syntax
public class BackOfficeRequirement : IAuthorizationRequirement
Constructors
View SourceBackOfficeRequirement(Boolean)
Initializes a new instance of the BackOfficeRequirement class.
Declaration
public BackOfficeRequirement(bool requireApproval = true)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | requireApproval | Flag for whether back-office user approval is required. |
Properties
View SourceRequireApproval
Gets a value indicating whether back-office user approval is required.
Declaration
public bool RequireApproval { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |