NameAuthorizationRequirement(String) 构造函数

定义

构造 NameAuthorizationRequirement 的新实例。

public:
 NameAuthorizationRequirement(System::String ^ requiredName);
public NameAuthorizationRequirement (string requiredName);
new Microsoft.AspNetCore.Authorization.Infrastructure.NameAuthorizationRequirement : string -> Microsoft.AspNetCore.Authorization.Infrastructure.NameAuthorizationRequirement
Public Sub New (requiredName As String)

参数

requiredName
String

当前用户必须具有的必需名称。

适用于