共用方式為


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

目前使用者必須擁有的必要名稱。

適用於