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 a comma delimited list of roles that are allowed to access the resource.
public:
property System::String ^ Roles { System::String ^ get(); void set(System::String ^ value); };
public string Roles { get; set; }
public string? Roles { get; set; }
member this.Roles : string with get, set
Public Property Roles As String