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