Compartilhar via


RolesAuthorizationRequirement(IEnumerable<String>) Construtor

Definição

Cria uma nova instância de 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))

Parâmetros

allowedRoles
IEnumerable<String>

Uma coleção de funções permitidas.

Aplica-se a