AuthorizeAttribute.Roles Property

 

Gets or sets the authorized roles.

Namespace:   System.Web.Http
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

public string Roles { get; set; }
public:
property String^ Roles {
    String^ get();
    void set(String^ value);
}
member Roles : string with get, set
Public Property Roles As String

Property Value

Type: System.String

The roles string.

See Also

AuthorizeAttribute Class
System.Web.Http Namespace

Return to top