RoleManagerSection Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the RoleManagerSection class by using default settings.
public:
RoleManagerSection();
public RoleManagerSection ();
Public Sub New ()
Remarks
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 |
Applies to
Comentários
https://aka.ms/ContentUserFeedback.
Em breve: Ao longo de 2024, eliminaremos os problemas do GitHub como o mecanismo de comentários para conteúdo e o substituiremos por um novo sistema de comentários. Para obter mais informações, consulteEnviar e exibir comentários de