Class BackOfficeRequirement
Authorization requirement for the BackOfficeRequirement
Inheritance
System.Object
Namespace: Umbraco.Cms.Web.BackOffice.Authorization
Assembly: Umbraco.Web.BackOffice.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 |