ScriptingProfileServiceSection.WriteAccessProperties Property


Gets or sets the write-access profile properties.

Namespace:   System.Web.Configuration
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

[ConfigurationPropertyAttribute("writeAccessProperties", DefaultValue = null)]
public string[] WriteAccessProperties { get; set; }

Property Value

Type: System.String[]

An array that contains the names of the write-access profile properties.

In order to use write-access profile properties in AJAX-enabled applications, add one or more profile property names to the WriteAccessProperties property.

You can set WriteAccessProperties to an empty string array. This means that no profile properties are allowed to be set from client script.

.NET Framework
Available since 3.5
Return to top