London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Class RoleDefinitionElement

Definition of single role element in web.config file

Inheritance
System.Object
RoleDefinitionElement
Namespace: Mediachase.Commerce.Security.Configuration
Assembly: Mediachase.Commerce.dll
Version: 13.30.0
Syntax
[Obsolete("Roles defined in config files are no longer used, for access control Permissions-to-functions from Episerver CMS is used instead. Will remain at least until Aug 2020")]
public class RoleDefinitionElement : ConfigurationElement

Constructors

RoleDefinitionElement()

Initializes a new instance of the RoleDefinitionElement class.

Declaration
public RoleDefinitionElement()

Properties

Name

Gets the system name (the predefined key for this role type).

Declaration
public string Name { get; }
Property Value
Type Description
System.String

The system name.

Value

Gets the configured role name.

Declaration
public string Value { get; }
Property Value
Type Description
System.String

The configured role name.