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
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示