RolesAuthorizationRequirement.AllowedRoles 属性

定义

获取允许的角色的集合。

public:
 property System::Collections::Generic::IEnumerable<System::String ^> ^ AllowedRoles { System::Collections::Generic::IEnumerable<System::String ^> ^ get(); };
public System.Collections.Generic.IEnumerable<string> AllowedRoles { get; }
member this.AllowedRoles : seq<string>
Public ReadOnly Property AllowedRoles As IEnumerable(Of String)

属性值

适用于