RoleManagerSection.MaxCachedResults Property

 

Gets or sets the maximum number of roles that ASP.NET caches in the role cookie.

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

<ConfigurationPropertyAttribute("maxCachedResults", DefaultValue := 25)>
Public Property MaxCachedResults As Integer

Property Value

Type: System.Int32

A value indicating the maximum number of roles ASP.NET caches in the role cookie. The default is 25.

The MaxCachedResults property returns an integer indicating the maximum number of roles that ASP.NET caches in the role cookie. The default is 25.

.NET Framework
Available since 2.0
Return to top
Show: