AuthorizeAttribute.Roles Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.