ScriptingProfileServiceSection.ReadAccessProperties Property

 

Gets or sets the read-access profile properties.

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

[<ConfigurationPropertyAttribute("readAccessProperties", DefaultValue = null)>]
member ReadAccessProperties : string[] with get, set

Property Value

Type: System.String[]

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

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

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

.NET Framework
Available since 3.5
Return to top
Show: