System.Web.Configuration.AuthorizationRule.Roles Property

Gets the roles associated with the resource.

Syntax

[System.Configuration.ConfigurationProperty("roles")]
[System.ComponentModel.TypeConverter(typeof(System.Configuration.CommaDelimitedStringCollectionConverter))]
public System.Collections.Specialized.StringCollection Roles { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The AuthorizationRule.Roles property is a list of roles that are granted or denied access to the resource. There must be at least one value in either the AuthorizationRule.Users property collection or the AuthorizationRule.Roles property collection, or both.

Requirements

Namespace: System.Web.Configuration
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0