Class SectionRequirement
Authorization requirements for SectionHandler
Inheritance
System.Object
Namespace: Umbraco.Cms.Web.BackOffice.Authorization
Assembly: Umbraco.Web.BackOffice.dll
Syntax
public class SectionRequirement : IAuthorizationRequirement
Constructors
View SourceSectionRequirement(String[])
Initializes a new instance of the SectionRequirement class.
Declaration
public SectionRequirement(params string[] aliases)
Parameters
Type | Name | Description |
---|---|---|
System.String[] | aliases | Aliases for sections that the user will need access to. |
Properties
View SourceSectionAliases
Gets the aliases for sections that the user will need access to.
Declaration
public IReadOnlyCollection<string> SectionAliases { get; }
Property Value
Type | Description |
---|---|
IReadOnlyCollection<System.String> |