AuthorizeAttribute.Roles Property
.NET Framework 4
Gets or sets the user roles.
Namespace: Microsoft.AspNet.SignalR
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.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
Returns String.