Class ComponentSecurityElement
Defines a component security settings element.
Inheritance
System.Object
ComponentSecurityElement
Namespace: EPiServer.Shell.Configuration
Assembly: EPiServer.Shell.dll
Version: 8.11.0Syntax
public class ComponentSecurityElement : ConfigurationElement
Constructors
ComponentSecurityElement()
Declaration
public ComponentSecurityElement()
Properties
AllowedRoles
Gets or sets the allowed roles for this component type.
Declaration
public string AllowedRoles { get; set; }
Property Value
Type | Description |
---|---|
System.String | The allowed roles for this component type. |
DefinitionName
Gets or sets the definition name of the component to match.
Declaration
public string DefinitionName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The definition name for the component. |
Remarks
This should match either the DefinitionName or DefinitionName depending on the type of transformation.