System.ComponentModel.DataAnnotations.PropertyAuthenticationAttribute.PropertyAuthenticationAttribute C# (CSharp) Method

PropertyAuthenticationAttribute() public method

Initialize attribute.
public PropertyAuthenticationAttribute ( ) : System
return System
        public PropertyAuthenticationAttribute()
        {
            AllowAnonymous = true;
            EditRolesRequired = new string[0];
            ViewRolesRequired = new string[0];
            Mode = AuthenticationRequiredMode.All;
        }
PropertyAuthenticationAttribute