AuthorizeAttribute.Roles AuthorizeAttribute.Roles AuthorizeAttribute.Roles Property

Definition

Gets or sets the user roles that are authorized to access the controller or action method.

public string Roles { get; set; }
member this.Roles : string with get, set
Public Property Roles As String

Property Value

The user roles that are authorized to access the controller or action method.

Applies to