다음을 통해 공유


RolesAuthorizationRequirement(IEnumerable<String>) 생성자

정의

RolesAuthorizationRequirement의 새 인스턴스를 만듭니다.

public:
 RolesAuthorizationRequirement(System::Collections::Generic::IEnumerable<System::String ^> ^ allowedRoles);
public RolesAuthorizationRequirement (System.Collections.Generic.IEnumerable<string> allowedRoles);
new Microsoft.AspNetCore.Authorization.Infrastructure.RolesAuthorizationRequirement : seq<string> -> Microsoft.AspNetCore.Authorization.Infrastructure.RolesAuthorizationRequirement
Public Sub New (allowedRoles As IEnumerable(Of String))

매개 변수

allowedRoles
IEnumerable<String>

허용되는 역할의 컬렉션입니다.

적용 대상