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
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour