AuthorizeAttribute.Roles 属性

定义

获取或设置有权访问控制器或操作方法的用户角色。

public string Roles { get; set; }
member this.Roles : string with get, set
Public Property Roles As String

属性值

有权访问控制器或操作方法的用户角色。

适用于