Class WebPageSecurityModel
Class representing model of security properties of a web page.
public sealed class WebPageSecurityModel
- Inheritance
-
objectWebPageSecurityModel
- Extension Methods
Constructors
WebPageSecurityModel()
public WebPageSecurityModel()
Properties
IsSecured
Flag indicating if web page is secured and requires authentication to access.
[CheckBoxComponent(Label = "{$websites.webpages.properties.security.issecured$}", Order = 1)]
public bool IsSecured { get; set; }
Property Value
- bool
- See Also
RequiredRoles
Collection of member role IDs that are required to access the secured web page.
[ObjectIdSelectorComponent("cms.memberrole", Label = "{$websites.webpages.properties.security.requiredroles$}", Tooltip = "{$websites.webpages.properties.security.requiredroles.tooltip$}", MaximumItems = 0, Order = 2)]
[VisibleIfTrue("IsSecured")]
public IEnumerable<int> RequiredRoles { get; set; }
Property Value
- IEnumerable<int>