November Happy Hour will be moved to Thursday December 5th.

Class ComponentSecurityElement

Defines a component security settings element.

Inheritance
System.Object
ComponentSecurityElement
Namespace: EPiServer.Shell.Configuration
Assembly: EPiServer.Shell.dll
Version: 9.12.2
Syntax
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.

Extension Methods