RoleManagerSectionとは? わかりやすく解説

RoleManagerSection クラス

メモ : このクラスは、.NET Framework version 2.0新しく追加されたものです。

Web アプリケーションロール管理インフラストラクチャサポートするために使用される構成設定定義します。このクラス継承できません。

名前空間: System.Web.Configuration
アセンブリ: System.Web (system.web.dll 内)
構文構文

Public NotInheritable Class
 RoleManagerSection
    Inherits ConfigurationSection
Dim instance As RoleManagerSection
public sealed class RoleManagerSection : ConfigurationSection
public ref class RoleManagerSection sealed
 : public ConfigurationSection
public final class RoleManagerSection extends
 ConfigurationSection
public final class RoleManagerSection extends
 ConfigurationSection
解説解説
使用例使用例

このセクションには、2 つコード例用意されています。最初の例では、RoleManagerSection クラス複数プロパティに対して宣言によって値を指定する方法示してます。2 番目の例では、RoleManagerSection 型の使用方法示してます。

次の構成ファイルの例では、RoleManagerSection クラス複数プロパティに対して宣言によって値を指定する方法示してます。

<system.web>
  <roleManager 
    enabled="false" 
    cacheRolesInCookie="false" 
    cookieName=".ASPXROLES" cookieTimeout="30"
    cookiePath="/" cookieRequireSSL="false"
    cookieSlidingExpiration="true" createPersistentCookie="false"
    cookieProtection="All" 
    defaultProvider="AspNetSqlRoleProvider"
    maxCachedResults="25"  >
    <providers>
      <add 
        name="AspNetSqlRoleProvider"
        connectionStringName="LocalSqlServer" 
        applicationName="/"
        type="System.Web.Security.SqlRoleProvider, System.Web,
          Version=2.0.3600.0, Culture=neutral,
          PublicKeyToken=b03f5f7f11d50a3a" />
      <add 
        name="AspNetWindowsTokenRoleProvider" 
        applicationName="/"
        type="System.Web.Security.WindowsTokenRoleProvider, System.Web, 
          Version=2.0.3600.0, Culture=neutral, 
          PublicKeyToken=b03f5f7f11d50a3a" />
    </providers>
  </roleManager>
</system.web>

RoleManagerSection 型を使用する方法次のコード例示します

Imports System
Imports System.Collections.Generic
Imports System.Text
Imports System.Configuration
Imports System.Web
Imports System.Web.Configuration

Namespace Samples.Aspnet.SystemWebConfiguration
  Class UsingRoleManagerSection
    Public Shared Sub Main()
      Try
        ' Set the path of the config file.
        Dim configPath As String
 = ""

        ' Get the Web application configuration object.
        Dim config As System.Configuration.Configuration
 = _
         System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration(configPath)

        ' Get the section related object.
        Dim configSection As System.Web.Configuration.RoleManagerSection
 = _
         CType(config.GetSection("system.web/roleManager"),
 _
         System.Web.Configuration.RoleManagerSection)

        ' Display title and info.
        Console.WriteLine("ASP.NET Configuration Info")
        Console.WriteLine()

        ' Display Config details.
        Console.WriteLine("File Path: {0}", config.FilePath)
        Console.WriteLine("Section Path: {0}", configSection.SectionInformation.Name)

        ' Display CacheRolesInCookie property.
        Console.WriteLine("CacheRolesInCookie: {0}",
 _
         configSection.CacheRolesInCookie)

        ' Set CacheRolesInCookie property.
        configSection.CacheRolesInCookie = False

        ' Display CookieName property.
        Console.WriteLine("CookieName: {0}", configSection.CookieName)

        ' Set CookieName property.
        configSection.CookieName = ".ASPXROLES"

        ' Display CookiePath property.
        Console.WriteLine("CookiePath: {0}", configSection.CookiePath)

        ' Set CookiePath property.
        configSection.CookiePath = "/"

        ' Display CookieProtection property.
        Console.WriteLine("CookieProtection: {0}",
 _
         configSection.CookieProtection)

        ' Set CookieProtection property.
        configSection.CookieProtection = _
         System.Web.Security.CookieProtection.All

        ' Display CookieRequireSSL property.
        Console.WriteLine("CookieRequireSSL: {0}",
 _
         configSection.CookieRequireSSL)

        ' Set CookieRequireSSL property.
        configSection.CookieRequireSSL = False

        ' Display CookieSlidingExpiration property.
        Console.WriteLine("CookieSlidingExpiration: {0}",
 _
         configSection.CookieSlidingExpiration)

        ' Set CookieSlidingExpiration property.
        configSection.CookieSlidingExpiration = True

        ' Display CookieTimeout property.
        Console.WriteLine("CookieTimeout: {0}", configSection.CookieTimeout)

        ' Set CookieTimeout property.
        configSection.CookieTimeout = TimeSpan.FromMinutes(30)

        ' Display CreatePersistentCookie property.
        Console.WriteLine("CreatePersistentCookie: {0}",
 _
         configSection.CreatePersistentCookie)

        ' Set CreatePersistentCookie property.
        configSection.CreatePersistentCookie = False

        ' Display DefaultProvider property.
        Console.WriteLine("DefaultProvider: {0}",
 _
         configSection.DefaultProvider)

        ' Set DefaultProvider property.
        configSection.DefaultProvider = "AspNetSqlRoleProvider"

        ' Display Domain property.
        Console.WriteLine("Domain: {0}", configSection.Domain)

        ' Set Domain property.
        configSection.Domain = ""

        ' Display Enabled property.
        Console.WriteLine("Enabled: {0}", configSection.Enabled)

        ' Set CookieName property.
        configSection.Enabled = False

        ' Display the number of Providers
        Console.WriteLine("Providers Collection Count: {0}",
 _
         configSection.Providers.Count)

        ' Display elements of the Providers collection property.
        For Each providerItem As
 ProviderSettings In configSection.Providers()
          Console.WriteLine()
          Console.WriteLine("Provider Details:")
          Console.WriteLine("Name: {0}", providerItem.Name)
          Console.WriteLine("Type: {0}", providerItem.Type)
        Next

        ' Update if not locked.
        If Not configSection.SectionInformation.IsLocked
 Then
          config.Save()
          Console.WriteLine("** Configuration updated.")
        Else
          Console.WriteLine("** Could not update, section is locked.")
        End If

      Catch e As Exception
        ' Unknown error.
        Console.WriteLine(e.ToString())
      End Try

      ' Display and wait
      Console.ReadLine()
    End Sub
  End Class
End Namespace
#region Using directives

using System;
using System.Collections.Generic;
using System.Text;
using System.Configuration;
using System.Web;
using System.Web.Configuration;

#endregion

namespace Samples.Aspnet.SystemWebConfiguration
{
  class UsingRoleManagerSection
  {
    static void Main(string[]
 args)
    {
      try
      {
        // Set the path of the config file.
        string configPath = "";

        // Get the Web application configuration object.
        Configuration config = WebConfigurationManager.OpenWebConfiguration(configPath);

        // Get the section related object.
        RoleManagerSection configSection =
          (RoleManagerSection)config.GetSection("system.web/roleManager");

        // Display title and info.
        Console.WriteLine("ASP.NET Configuration Info");
        Console.WriteLine();

        // Display Config details.
        Console.WriteLine("File Path: {0}",
          config.FilePath);
        Console.WriteLine("Section Path: {0}",
          configSection.SectionInformation.Name);

        // Display CacheRolesInCookie property.
        Console.WriteLine("CacheRolesInCookie: {0}",
          configSection.CacheRolesInCookie);

        // Set CacheRolesInCookie property.
        configSection.CacheRolesInCookie = false;

        // Display CookieName property.
        Console.WriteLine("CookieName: {0}", configSection.CookieName);

        // Set CookieName property.
        configSection.CookieName = ".ASPXROLES";

        // Display CookiePath property.
        Console.WriteLine("CookiePath: {0}", configSection.CookiePath);

        // Set CookiePath property.
        configSection.CookiePath = "/";

        // Display CookieProtection property.
        Console.WriteLine("CookieProtection: {0}",
          configSection.CookieProtection);

        // Set CookieProtection property.
        configSection.CookieProtection =
          System.Web.Security.CookieProtection.All;

        // Display CookieRequireSSL property.
        Console.WriteLine("CookieRequireSSL: {0}",
          configSection.CookieRequireSSL);

        // Set CookieRequireSSL property.
        configSection.CookieRequireSSL = false;

        // Display CookieSlidingExpiration property.
        Console.WriteLine("CookieSlidingExpiration: {0}",
          configSection.CookieSlidingExpiration);

        // Set CookieSlidingExpiration property.
        configSection.CookieSlidingExpiration = true;

        // Display CookieTimeout property.
        Console.WriteLine("CookieTimeout: {0}", configSection.CookieTimeout);

        // Set CookieTimeout property.
        configSection.CookieTimeout = TimeSpan.FromMinutes(30);

        // Display CreatePersistentCookie property.
        Console.WriteLine("CreatePersistentCookie: {0}",
          configSection.CreatePersistentCookie);

        // Set CreatePersistentCookie property.
        configSection.CreatePersistentCookie = false;

        // Display DefaultProvider property.
        Console.WriteLine("DefaultProvider: {0}",
          configSection.DefaultProvider);

        // Set DefaultProvider property.
        configSection.DefaultProvider = "AspNetSqlRoleProvider";

        // Display Domain property.
        Console.WriteLine("Domain: {0}", configSection.Domain);

        // Set Domain property.
        configSection.Domain = "";

        // Display Enabled property.
        Console.WriteLine("Enabled: {0}", configSection.Enabled);

        // Set Enabled property.
        configSection.Enabled = false;

        // Display the number of Providers
        Console.WriteLine("Providers Collection Count: {0}",
          configSection.Providers.Count);

        // Display elements of the Providers collection property.
        foreach (ProviderSettings providerItem in
 configSection.Providers)
        {
          Console.WriteLine();
          Console.WriteLine("Provider Details:");
          Console.WriteLine("Name: {0}", providerItem.Name);
          Console.WriteLine("Type: {0}", providerItem.Type);
        }

        // Update if not locked.
        if (!configSection.SectionInformation.IsLocked)
        {
          config.Save();
          Console.WriteLine("** Configuration updated.");
        }
        else
        {
          Console.WriteLine("** Could not update, section is locked.");
        }
      }

      catch (Exception e)
      {
        // Unknown error.
        Console.WriteLine(e.ToString());
      }

      // Display and wait
      Console.ReadLine();
    }
  }
}
継承階層継承階層
System.Object
   System.Configuration.ConfigurationElement
     System.Configuration.ConfigurationSection
      System.Web.Configuration.RoleManagerSection
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバ場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
RoleManagerSection メンバ
System.Web.Configuration 名前空間
ConfigurationSection
RoleManagerModule
Roles
その他の技術情報
ロール管理について
roleManager 要素 (ASP.NET 設定スキーマ)

RoleManagerSection コンストラクタ

メモ : このコンストラクタは、.NET Framework version 2.0新しく追加されたものです。

既定設定使用して RoleManagerSection クラス新しインスタンス初期化します。

名前空間: System.Web.Configuration
アセンブリ: System.Web (system.web.dll 内)
構文構文

Dim instance As New RoleManagerSection
public RoleManagerSection ()
public:
RoleManagerSection ()
public RoleManagerSection ()
public function RoleManagerSection ()
解説解説

RoleManagerSection コンストラクタは、コード直接使用するためのものではありません。ASP.NET 構成システムによって呼び出されます。RoleManagerSection クラスインスタンスは、GetSection メソッド使用して取得します

RoleManagerSection コンストラクタ使用される既定設定次の表に示します

プロパティ

既定値

Enabled

false

CacheRolesInCookie

false

CookieName

".ASPXROLES"

CookiePath

"/"

CookieProtection

All

CookieRequireSSL

false

CookieSlidingExpiration

true

CookieTimeout

30

CreatePersistentCookie

false

DefaultProvider

"AspNetSqlRoleProvider"

Domain

空の文字列 ("")

MaxCachedResults

25

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
RoleManagerSection クラス
RoleManagerSection メンバ
System.Web.Configuration 名前空間

RoleManagerSection プロパティ


パブリック プロパティパブリック プロパティ

( プロテクト プロパティ参照)
  名前 説明
パブリック プロパティ CacheRolesInCookie 現在のユーザーロールCookieキャッシュされているかどうかを示す値を取得または設定します
パブリック プロパティ CookieName ロール名をキャッシュするために使用される Cookie の名前を取得または設定します
パブリック プロパティ CookiePath ロール名をキャッシュするために使用される Cookie仮想パス取得または設定します
パブリック プロパティ CookieProtection ロール名をキャッシュする Cookie保護するために使用されるセキュリティ種類取得または設定します
パブリック プロパティ CookieRequireSSL ロール名をキャッシュするために使用する Cookieサーバー返すために、SSL (Secure Sockets Layer) 接続が必要かどうかを示す値を取得または設定します
パブリック プロパティ CookieSlidingExpiration ロール名をキャッシュするために使用される Cookie定期的にリセットするかどうか指定する値を取得または設定します
パブリック プロパティ CookieTimeout ロール名をキャッシュするために使用される Cookie有効期限が切れるまでの時間 (分) を取得または設定します
パブリック プロパティ CreatePersistentCookie ロール名をキャッシュするために、セッションベースCookie、または永続的な Cookie のどちらを使用するのかを示します
パブリック プロパティ DefaultProvider ロール管理するために使用される既定プロバイダの名前を取得または設定します
パブリック プロパティ Domain ロール名をキャッシュするために使用される Cookie関連付けられるドメインの名前を取得または設定します
パブリック プロパティ ElementInformation  ConfigurationElement オブジェクトカスタマイズできない情報機能格納する ElementInformation オブジェクト取得します。 ( ConfigurationElement から継承されます。)
パブリック プロパティ Enabled ASP.NETロール管理機能が有効かどうかを示す値を取得または設定します
パブリック プロパティ LockAllAttributesExcept  ロックされている属性コレクション取得します。 ( ConfigurationElement から継承されます。)
パブリック プロパティ LockAllElementsExcept  ロックされている要素コレクション取得します。 ( ConfigurationElement から継承されます。)
パブリック プロパティ LockAttributes  ロックされている属性コレクション取得します。 ( ConfigurationElement から継承されます。)
パブリック プロパティ LockElements  ロックされている要素コレクション取得します。 ( ConfigurationElement から継承されます。)
パブリック プロパティ LockItem  要素ロックされているかどうかを示す値を取得または設定します。 ( ConfigurationElement から継承されます。)
パブリック プロパティ MaxCachedResults ASP.NETロールCookieキャッシュするロール最大数を取得または設定します
パブリック プロパティ Providers ProviderSettings 要素の ProviderSettingsCollection オブジェクト取得します
パブリック プロパティ SectionInformation  ConfigurationSection オブジェクトカスタマイズできない情報機能格納する SectionInformation オブジェクト取得します。 ( ConfigurationSection から継承されます。)
プロテクト プロパティプロテクト プロパティ
  名前 説明
プロテクト プロパティ ElementProperty  ConfigurationElement オブジェクト自体を表す ConfigurationElementProperty オブジェクト取得します。 ( ConfigurationElement から継承されます。)
プロテクト プロパティ EvaluationContext  ConfigurationElement オブジェクトの ContextInformation オブジェクト取得します。 ( ConfigurationElement から継承されます。)
プロテクト プロパティ Item  オーバーロードされます。 この ConfigurationElement オブジェクトプロパティ属性、または子要素取得または設定します。 ( ConfigurationElement から継承されます。)
プロテクト プロパティ Properties  プロパティコレクション取得します。 ( ConfigurationElement から継承されます。)
参照参照

関連項目

RoleManagerSection クラス
System.Web.Configuration 名前空間
ConfigurationSection
RoleManagerModule
Roles

その他の技術情報

ロール管理について
roleManager 要素 (ASP.NET 設定スキーマ)

RoleManagerSection メソッド


パブリック メソッドパブリック メソッド

プロテクト メソッドプロテクト メソッド
  名前 説明
プロテクト メソッド DeserializeElement  構成ファイルから XML読み取ります。 ( ConfigurationElement から継承されます。)
プロテクト メソッド DeserializeSection  構成ファイルから XML読み取ります。 ( ConfigurationSection から継承されます。)
プロテクト メソッド Finalize  Objectガベージ コレクションにより収集される前に、その Objectリソース解放しその他のクリーンアップ操作実行できるようにします。 ( Object から継承されます。)
プロテクト メソッド GetRuntimeObject  派生クラスオーバーライドされると、カスタム オブジェクト返します。 ( ConfigurationSection から継承されます。)
プロテクト メソッド Init  ConfigurationElement オブジェクト初期状態設定します。 ( ConfigurationElement から継承されます。)
プロテクト メソッド InitializeDefault  ConfigurationElement オブジェクト既定の値セット初期化するために使用します。 ( ConfigurationElement から継承されます。)
プロテクト メソッド IsModified  派生クラス実装された場合、この構成要素最後保存または読み込み以降変更されたかどうかを示します。 ( ConfigurationSection から継承されます。)
プロテクト メソッド ListErrors  この ConfigurationElement オブジェクトおよびすべてのサブ要素無効なプロパティエラーを、渡されリスト追加します。 ( ConfigurationElement から継承されます。)
プロテクト メソッド MemberwiseClone  現在の Object簡易コピー作成します。 ( Object から継承されます。)
プロテクト メソッド OnDeserializeUnrecognizedAttribute  逆シリカル化中に不明な属性発生したかどうかを示す値を取得します。 ( ConfigurationElement から継承されます。)
プロテクト メソッド OnDeserializeUnrecognizedElement  逆シリカル化中に不明な要素発生したかどうかを示す値を取得します。 ( ConfigurationElement から継承されます。)
プロテクト メソッド OnRequiredPropertyNotFound  必須プロパティが見つからなかったかどうかを示す値を取得します。 ( ConfigurationElement から継承されます。)
プロテクト メソッド PostDeserialize  シリアル化後に呼び出されます。 ( ConfigurationElement から継承されます。)
プロテクト メソッド PreSerialize  シリアル化前に呼び出されます。 ( ConfigurationElement から継承されます。)
プロテクト メソッド Reset  ConfigurationElement オブジェクト内部状態 (ロックプロパティ コレクションなど) をリセットします。 ( ConfigurationElement から継承されます。)
プロテクト メソッド ResetModified  派生クラス実装された場合、IsModified メソッドの値を falseリセットします。 ( ConfigurationSection から継承されます。)
プロテクト メソッド SerializeElement  派生クラス実装されている場合、この構成要素内容構成ファイル書き込みます。 ( ConfigurationElement から継承されます。)
プロテクト メソッド SerializeSection  ファイル書き込む 1 つセクションとして、ConfigurationSection オブジェクトのアンマージされたビューを含む XML 文字列作成します。 ( ConfigurationSection から継承されます。)
プロテクト メソッド SerializeToXmlElement  派生クラス実装されている場合、この構成要素外側タグ構成ファイル書き込みます。 ( ConfigurationElement から継承されます。)
プロテクト メソッド SetPropertyValue  プロパティ指定した値に設定します。 ( ConfigurationElement から継承されます。)
プロテクト メソッド SetReadOnly  ConfigurationElement オブジェクトおよびすべてのサブ要素に IsReadOnly プロパティ設定します。 ( ConfigurationElement から継承されます。)
プロテクト メソッド Unmerge  保存しないすべての値を削除するには、ConfigurationElement オブジェクト変更します。 ( ConfigurationElement から継承されます。)
参照参照

関連項目

RoleManagerSection クラス
System.Web.Configuration 名前空間
ConfigurationSection
RoleManagerModule
Roles

その他の技術情報

ロール管理について
roleManager 要素 (ASP.NET 設定スキーマ)

RoleManagerSection メンバ

Web アプリケーションロール管理インフラストラクチャサポートするために使用される構成設定定義します。このクラス継承できません。

RoleManagerSection データ型公開されるメンバを以下の表に示します


パブリック コンストラクタパブリック コンストラクタ
  名前 説明
パブリック メソッド RoleManagerSection 既定設定使用して RoleManagerSection クラス新しインスタンス初期化します。
パブリック プロパティパブリック プロパティ
( プロテクト プロパティ参照)
  名前 説明
パブリック プロパティ CacheRolesInCookie 現在のユーザーロールCookieキャッシュされているかどうかを示す値を取得または設定します
パブリック プロパティ CookieName ロール名をキャッシュするために使用される Cookie の名前を取得または設定します
パブリック プロパティ CookiePath ロール名をキャッシュするために使用される Cookie仮想パス取得または設定します
パブリック プロパティ CookieProtection ロール名をキャッシュする Cookie保護するために使用されるセキュリティ種類取得または設定します
パブリック プロパティ CookieRequireSSL ロール名をキャッシュするために使用する Cookieサーバー返すために、SSL (Secure Sockets Layer) 接続が必要かどうかを示す値を取得または設定します
パブリック プロパティ CookieSlidingExpiration ロール名をキャッシュするために使用される Cookie定期的にリセットするかどうか指定する値を取得または設定します
パブリック プロパティ CookieTimeout ロール名をキャッシュするために使用される Cookie有効期限が切れるまでの時間 (分) を取得または設定します
パブリック プロパティ CreatePersistentCookie ロール名をキャッシュするために、セッションベースCookie、または永続的な Cookie のどちらを使用するのかを示します
パブリック プロパティ DefaultProvider ロール管理するために使用される既定プロバイダの名前を取得または設定します
パブリック プロパティ Domain ロール名をキャッシュするために使用される Cookie関連付けられるドメインの名前を取得または設定します
パブリック プロパティ ElementInformation  ConfigurationElement オブジェクトカスタマイズできない情報機能格納する ElementInformation オブジェクト取得します。 (ConfigurationElement から継承されます。)
パブリック プロパティ Enabled ASP.NETロール管理機能が有効かどうかを示す値を取得または設定します
パブリック プロパティ LockAllAttributesExcept  ロックされている属性コレクション取得します。(ConfigurationElement から継承されます。)
パブリック プロパティ LockAllElementsExcept  ロックされている要素コレクション取得します。(ConfigurationElement から継承されます。)
パブリック プロパティ LockAttributes  ロックされている属性コレクション取得します。 (ConfigurationElement から継承されます。)
パブリック プロパティ LockElements  ロックされている要素コレクション取得します。(ConfigurationElement から継承されます。)
パブリック プロパティ LockItem  要素ロックされているかどうかを示す値を取得または設定します。(ConfigurationElement から継承されます。)
パブリック プロパティ MaxCachedResults ASP.NETロールCookieキャッシュするロール最大数を取得または設定します
パブリック プロパティ Providers ProviderSettings 要素の ProviderSettingsCollection オブジェクト取得します
パブリック プロパティ SectionInformation  ConfigurationSection オブジェクトカスタマイズできない情報機能格納する SectionInformation オブジェクト取得します。 (ConfigurationSection から継承されます。)
プロテクト プロパティプロテクト プロパティ
  名前 説明
プロテクト プロパティ ElementProperty  ConfigurationElement オブジェクト自体を表す ConfigurationElementProperty オブジェクト取得します。(ConfigurationElement から継承されます。)
プロテクト プロパティ EvaluationContext  ConfigurationElement オブジェクトの ContextInformation オブジェクト取得します。(ConfigurationElement から継承されます。)
プロテクト プロパティ Item  オーバーロードされます。 この ConfigurationElement オブジェクトプロパティ属性、または子要素取得または設定します。(ConfigurationElement から継承されます。)
プロテクト プロパティ Properties  プロパティコレクション取得します。(ConfigurationElement から継承されます。)
パブリック メソッドパブリック メソッド
プロテクト メソッドプロテクト メソッド
  名前 説明
プロテクト メソッド DeserializeElement  構成ファイルから XML読み取ります。 (ConfigurationElement から継承されます。)
プロテクト メソッド DeserializeSection  構成ファイルから XML読み取ります。 (ConfigurationSection から継承されます。)
プロテクト メソッド Finalize  Objectガベージ コレクションにより収集される前に、その Objectリソース解放しその他のクリーンアップ操作実行できるようにします。 (Object から継承されます。)
プロテクト メソッド GetRuntimeObject  派生クラスオーバーライドされると、カスタム オブジェクト返します。 (ConfigurationSection から継承されます。)
プロテクト メソッド Init  ConfigurationElement オブジェクト初期状態設定します。 (ConfigurationElement から継承されます。)
プロテクト メソッド InitializeDefault  ConfigurationElement オブジェクト既定の値セット初期化するために使用します。 (ConfigurationElement から継承されます。)
プロテクト メソッド IsModified  派生クラス実装された場合、この構成要素最後保存または読み込み以降変更されたかどうかを示します。 (ConfigurationSection から継承されます。)
プロテクト メソッド ListErrors  この ConfigurationElement オブジェクトおよびすべてのサブ要素無効なプロパティエラーを、渡されリスト追加します。 (ConfigurationElement から継承されます。)
プロテクト メソッド MemberwiseClone  現在の Object簡易コピー作成します。 (Object から継承されます。)
プロテクト メソッド OnDeserializeUnrecognizedAttribute  逆シリカル化中に不明な属性発生したかどうかを示す値を取得します。 (ConfigurationElement から継承されます。)
プロテクト メソッド OnDeserializeUnrecognizedElement  逆シリカル化中に不明な要素発生したかどうかを示す値を取得します。 (ConfigurationElement から継承されます。)
プロテクト メソッド OnRequiredPropertyNotFound  必須プロパティが見つからなかったかどうかを示す値を取得します。 (ConfigurationElement から継承されます。)
プロテクト メソッド PostDeserialize  シリアル化後に呼び出されます。 (ConfigurationElement から継承されます。)
プロテクト メソッド PreSerialize  シリアル化前に呼び出されます。 (ConfigurationElement から継承されます。)
プロテクト メソッド Reset  ConfigurationElement オブジェクト内部状態 (ロックプロパティ コレクションなど) をリセットします。 (ConfigurationElement から継承されます。)
プロテクト メソッド ResetModified  派生クラス実装された場合、IsModified メソッドの値を falseリセットします。 (ConfigurationSection から継承されます。)
プロテクト メソッド SerializeElement  派生クラス実装されている場合、この構成要素内容構成ファイル書き込みます。 (ConfigurationElement から継承されます。)
プロテクト メソッド SerializeSection  ファイル書き込む 1 つセクションとして、ConfigurationSection オブジェクトのアンマージされたビューを含む XML 文字列作成します。 (ConfigurationSection から継承されます。)
プロテクト メソッド SerializeToXmlElement  派生クラス実装されている場合、この構成要素外側タグ構成ファイル書き込みます。 (ConfigurationElement から継承されます。)
プロテクト メソッド SetPropertyValue  プロパティ指定した値に設定します。 (ConfigurationElement から継承されます。)
プロテクト メソッド SetReadOnly  ConfigurationElement オブジェクトおよびすべてのサブ要素に IsReadOnly プロパティ設定します。 (ConfigurationElement から継承されます。)
プロテクト メソッド Unmerge  保存しないすべての値を削除するには、ConfigurationElement オブジェクト変更します。 (ConfigurationElement から継承されます。)
参照参照

関連項目

RoleManagerSection クラス
System.Web.Configuration 名前空間
ConfigurationSection
RoleManagerModule
Roles

その他の技術情報

ロール管理について
roleManager 要素 (ASP.NET 設定スキーマ)



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「RoleManagerSection」の関連用語

RoleManagerSectionのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



RoleManagerSectionのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS