MembershipSection クラス
ユーザー資格情報を検証し、ユーザー設定を管理します。
構文
class MembershipSection : ConfigurationSectionWithCollection
メソッド
次の表に、MembershipSection
クラスによって公開されるメソッドの一覧を示します。
名前 | 説明 |
---|---|
[追加] | (ConfigurationSectionWithCollection から継承。) |
Clear | (ConfigurationSectionWithCollection から継承。) |
Get | (ConfigurationSectionWithCollection から継承。) |
GetAllowDefinition | (ConfigurationSection から継承。) |
GetAllowLocation | (ConfigurationSection から継承。) |
削除 | (ConfigurationSectionWithCollection から継承。) |
RevertToParent | (ConfigurationSection から継承。) |
SetAllowDefinition | (ConfigurationSection から継承。) |
SetAllowLocation | (ConfigurationSection から継承。) |
プロパティ
次の表は、MembershipSection
クラスによって公開されるプロパティの一覧です。
名前 | 説明 |
---|---|
DefaultProvider |
アプリケーションの既定のメンバーシップ プロバイダーを指定する、読み取り/書き込みの string 値。 既定値は "AspNetSqlMembershipProvider" です。 |
HashAlgorithmType |
パスワードのハッシュに使うカスタム アルゴリズムを識別する、読み取り/書き込みの string 値。 値が指定されていない場合は、MachineKeySection クラスの Validation プロパティで指定されたハッシュ アルゴリズムが使用されます。 注: .NET Framework では、<cryptographySettings> 構成セクションを使ってカスタム暗号化クラスを構成できます。 HashAlgorithmType プロパティは、<cryptoNameMapping> 要素の <nameEntry> 要素の name 属性と一致する必要があります。 詳しくは、「暗号化クラスへのアルゴリズム名の割り当て」を参照してください。 |
Location |
(ConfigurationSection から継承。)キー プロパティ。 |
Path |
(ConfigurationSection から継承。)キー プロパティ。 |
Providers |
1 つの ASP.NET アプリケーション (Web.config レベル) またはすべての ASP.NET アプリケーション (Machine.config レベル) のメンバーシップ プロバイダーを指定する ProvidersSettings 値。 |
SectionInformation |
(ConfigurationSection から継承。) |
UserIsOnlineTimeWindow |
ユーザーの最終アクティビティの日付/時刻スタンプからどれだけの期間そのユーザーをオンラインと見なすかを指定する、読み取り/書き込みの datetime 値。 既定では 15 分です。 |
サブクラス
このクラスにはサブクラスが含まれていません。
継承階層
ConfigurationSectionWithCollection
MembershipSection
要件
型 | 説明 |
---|---|
クライアント | - Windows Vista 上の IIS 7.0 - Windows 7 上の IIS 7.5 - Windows 8 上の IIS 8.0 - Windows 10 上の IIS 10.0 |
[サーバー] | - Windows Server 2008 上の IIS 7.0 - Windows Server 2008 R2 上の IIS 7.5 - Windows Server 2012 上の IIS 8.0 - Windows Server 2012 R2 上の IIS 8.5 - Windows Server 2016 上の IIS 10.0 |
Product | - IIS 7.0、IIS 7.5、IIS 8.0、IIS 8.5、IIS 10.0 |
MOF ファイル | WebAdministration.mof |
参照
System.Web.Security.MembershipConfigurationSectionWithCollection クラス
ProvidersSettings クラス
暗号化クラスへのアルゴリズム名の割り当て