Partager via


AuthorizeAttribute.Users Property

Gets or sets the authorized users.

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

Syntax

'Declaration
Public Property Users As String
    Get
    Set
public string Users { get; set; }
public:
property String^ Users {
    String^ get ();
    void set (String^ value);
}

Property Value

Type: System.String
The authorized users.

Remarks

This property manages the users who are authorized to access the associated controller or action method.

See Also

Reference

AuthorizeAttribute Class

System.Web.Mvc Namespace