共用方式為


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

屬性值

實作

適用於