RoleManagerSection Constructor ()

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Initializes a new instance of the RoleManagerSection class by using default settings.

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

Public Sub New

The RoleManagerSection constructor is not intended to be used directly from your code. It is called by the ASP.NET configuration system. You obtain an instance of the RoleManagerSection class by using the GetSection method.

The following table shows the default settings that are used for the RoleManagerSection constructor.

Property

Default value

Enabled

false

CacheRolesInCookie

false

CookieName

".ASPXROLES"

CookiePath

"/"

CookieProtection

All

CookieRequireSSL

false

CookieSlidingExpiration

true

CookieTimeout

30, in minutes

CreatePersistentCookie

false

DefaultProvider

"AspNetSqlRoleProvider"

Domain

An empty string ("")

MaxCachedResults

25

.NET Framework
Available since 2.0
Return to top
Show: