AuthorizeView.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.
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, setPublic Property Roles As StringProperty Value
- Attributes