AuthorizeView.Roles Property

Definition

A comma delimited list of roles that are allowed to display the content.

public:
 property System::String ^ Roles { System::String ^ get(); void set(System::String ^ value); };
[Microsoft.AspNetCore.Components.Parameter]
public string Roles { get; set; }
[Microsoft.AspNetCore.Components.Parameter]
public string? Roles { get; set; }
[<Microsoft.AspNetCore.Components.Parameter>]
member this.Roles : string with get, set
Public Property Roles As String

Property Value

Attributes

Applies to