Share via


AuthorizeAttribute.Users Property

Gets or sets the authorized users.

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

Syntax

'Declaration
Public Property Users As String 
    Get 
    Set
'Usage
Dim instance As AuthorizeAttribute 
Dim value As String 

value = instance.Users

instance.Users = value
public string Users { get; set; }
public:
property String^ Users {
    String^ get ();
    void set (String^ value);
}
member Users : string with get, set
function get Users () : String 
function set Users (value : String)

Property Value

Type: System.String
The users string.

Remarks

Multiple role names can be specified using the comma character as a separator.

See Also

Reference

AuthorizeAttribute Class

System.Web.Http Namespace