AuthorizeAttribute.Roles 属性

定义

获取或设置允许访问资源的角色的逗号分隔列表。

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

属性值

实现

适用于