ActiveDirectoryMembershipProvider.PasswordAnswerAttemptLockoutDuration プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > ActiveDirectoryMembershipProvider.PasswordAnswerAttemptLockoutDuration プロパティの意味・解説 

ActiveDirectoryMembershipProvider.PasswordAnswerAttemptLockoutDuration プロパティ

メモ : このプロパティは、.NET Framework version 2.0新しく追加されたものです。

無効なパスワード解答ユーザー所定回数入力した後にそのユーザー アカウントロックアウトされる時間の長さ取得します

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

Public ReadOnly Property
 PasswordAnswerAttemptLockoutDuration As Integer
Dim instance As ActiveDirectoryMembershipProvider
Dim value As Integer

value = instance.PasswordAnswerAttemptLockoutDuration
public int PasswordAnswerAttemptLockoutDuration
 { get; }
public:
property int PasswordAnswerAttemptLockoutDuration {
    int get ();
}
/** @property */
public int get_PasswordAnswerAttemptLockoutDuration
 ()
public function get PasswordAnswerAttemptLockoutDuration
 () : int

プロパティ
正しくないパスワード解答所定回数入力した後にユーザーロックアウトされる時間 (分単位)。

例外例外
例外種類条件

InvalidOperationException

ActiveDirectoryMembershipProvider インスタンス初期化される前にPasswordAnswerAttemptLockoutDuration プロパティアクセスしようとしました

解説解説

EnablePasswordReset プロパティtrue場合パスワードリセットするには、ユーザーパスワード質問解答する必要があります。PasswordAttemptWindow プロパティ指定され観測間内正し解答入力を MaxInvalidPasswordAttempts プロパティ値と同じ回数だけ連続して失敗した場合ユーザーPasswordAnswerAttemptLockoutDuration プロパティ指定され分数の間はロックアウトされ、それ以上入力できなくなります

メモメモ

このプロパティでは、有効なパスワード入力失敗した後でユーザーロックアウトされる期間は設定されません。失敗したログオン回数Active Directory サーバー処理されるので、このプロパティの値には影響されません。PasswordAnswerAttemptLockoutDuration プロパティ設定する値は、Active Directory 構成所定回数わたってログオン失敗した場合に対して指定されアカウントロックアウト期間と同じ値にすることをお勧めます。これにより、ロックアウト原因失敗したログオン回数であるか無効なパスワード解答であるかに関係なく、ユーザー自動ロックアウト動作一貫性保たれます。

PasswordAnswerAttemptLockoutDuration プロパティは、アプリケーション構成ファイル内の membership 要素 (ASP.NET 設定スキーマ) 要素passwordAnswerAttemptLockoutDuration 属性使用して設定されます。アプリケーション構成ファイルでこのプロパティ設定されていない場合PasswordAnswerAttemptLockoutDuration プロパティ既定値30 分に設定されます。

使用例使用例

10 分の時間枠パスワード解答入力ユーザー3 回失敗した場合、そのユーザーロックアウトする ActiveDirectoryMembershipProvider インスタンス構成する Web.config エントリを次のコード例示しますロックアウトされたユーザーは、15 分間はパスワード質問解答新たに入力できません。

<configuration>
  <connectionStrings>
    <add name="ADService" connectionString="LDAP://ldapServer/" />
  </connectionStrings>
  <system.web>
    <membership defaultProvider="AspNetActiveDirectoryMembershipProvider">
      <providers>
        <add name="AspNetActiveDirectoryMembershipProvider" 
          type="System.Web.Security.ActiveDirectoryMembershipProvider, 
          System.Web, Version=2.0.3600, Culture=neutral, 
          PublicKeyToken=b03f5f7f11d50a3a"
          maxInvalidPasswordAttempts="3"
          passwordAttemptWindow="10"
          passwordAnswerAttemptLockoutDuration="15" />
      </providers>
    </membership>
  </system.web>
</configuration>
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ActiveDirectoryMembershipProvider クラス
ActiveDirectoryMembershipProvider メンバ
System.Web.Security 名前空間
その他の技術情報
メンバシップ概要


このページでは「.NET Framework クラス ライブラリ リファレンス」からActiveDirectoryMembershipProvider.PasswordAnswerAttemptLockoutDuration プロパティを検索した結果を表示しています。
Weblioに収録されているすべての辞書からActiveDirectoryMembershipProvider.PasswordAnswerAttemptLockoutDuration プロパティを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からActiveDirectoryMembershipProvider.PasswordAnswerAttemptLockoutDuration プロパティ を検索

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

辞書ショートカット

すべての辞書の索引

ActiveDirectoryMembershipProvider.PasswordAnswerAttemptLockoutDuration プロパティのお隣キーワード
検索ランキング

   

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



ActiveDirectoryMembershipProvider.PasswordAnswerAttemptLockoutDuration プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS