Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the authorized roles.
Namespace: System.Web.Http
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Property Roles As String
Get
Set
'Usage
Dim instance As AuthorizeAttribute
Dim value As String
value = instance.Roles
instance.Roles = value
public string Roles { get; set; }
public:
property String^ Roles {
String^ get ();
void set (String^ value);
}
member Roles : string with get, set
function get Roles () : String
function set Roles (value : String)
Property Value
Type: System.String
The roles string.
Remarks
Multiple role names can be specified using the comma character as a separator.