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

ActiveDirectoryMembershipUser クラス

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

Active Directory データ ストアに格納されているメンバシップ ユーザー情報を公開および更新します。

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

<SerializableAttribute> _
Public Class ActiveDirectoryMembershipUser
    Inherits MembershipUser
Dim instance As ActiveDirectoryMembershipUser
[SerializableAttribute] 
public class ActiveDirectoryMembershipUser
 : MembershipUser
[SerializableAttribute] 
public ref class ActiveDirectoryMembershipUser
 : public MembershipUser
/** @attribute SerializableAttribute() */ 
public class ActiveDirectoryMembershipUser
 extends MembershipUser
SerializableAttribute 
public class ActiveDirectoryMembershipUser
 extends MembershipUser
解説解説

ActiveDirectoryMembershipUser オブジェクトは、Active Directory メンバシップ データ ストア内の単一のメンバシップ ユーザーを表すのに使用されます。電子メールなどのメンバシップ ユーザーに関する情報を公開し、パスワードの変更やリセットなど、メンバシップ ユーザー情報を管理する機能を提供します。

Active Directory データ ストアを使用するようにアプリケーションが構成されている場合、アプリケーションのメンバシップ プロバイダによって ActiveDirectoryMembershipUser オブジェクトが返されます。別のデータ ストアを使用するように構成できるアプリケーションや、複数のデータ ストアを使用するアプリケーションの場合は、基本クラスの MembershipUser を参照できます。ActiveDirectoryMembershipUser オブジェクトは LastActivityDate プロパティと LastLoginDate プロパティを実装していません。このため、これらのメンバが ActiveDirectoryMembershipUser オブジェクトでアクセスされた場合にスローされる NotSupportedException を処理できるように準備しておく必要があります。

ActiveDirectoryMembershipUser クラスは、ActiveDirectoryMembershipProvider クラスによって使用される内部最適化処理を実装しており、これにより、UpdateUser メソッドの呼び出し時に発生する属性の更新回数を最小限に抑えることができます。また、SecurityIdentifier 表現 (ProviderUserKey プロパティで利用可能) をシリアル化することにより、例外がスローされることなく ActiveDirectoryMembershipUser オブジェクトのシリアル化と逆シリアル化を行うことができます。

ActiveDirectoryMembershipUser オブジェクトは、GetUser メソッドおよび CreateUser メソッドから返されます。また、GetAllUsers、FindUsersByName、および FindUsersByEmail の各メソッドによって返される MembershipUserCollection の一部になります。

既存のメンバシップ ユーザーの情報を更新する場合には、UpdateUser メソッドで ActiveDirectoryMembershipUser オブジェクトが必要になります。

ActiveDirectoryMembershipUser のプロパティは、Active Directory の属性にマップされます。ActiveDirectoryMembershipUser のプロパティとその既定の属性のマップを次の表に示します。

プロパティ

既定のディレクトリ属性

マップ可能である

ProviderUserKey

securityIdentifier

いいえ

Username

userPrincipalName

はい。ただし、userPrincipalName または sAMAccountName のいずれかである必要があります。

Comment

comment

いいえ

CreationDate

whenCreated

いいえ

Email

mail

はい。ただし、Unicode 文字列型の単一の値を持つ属性である必要があります。

LastActivityDate

n/a

ActiveDirectoryMembershipProvider でサポートされていません。

LastLoginDate

n/a

ActiveDirectoryMembershipProvider でサポートされていません。

LastPasswordChangedDate

pwdLastSet

いいえ

PasswordQuestion

なし。ただし、パスワードのリセットまたは取得に質問と解答形式のセキュリティを使用している場合は、属性にマップする必要があります。

はい。ただし、Unicode 文字列型の単一の値を持つ属性である必要があります。

IsApproved

User-Account-Control (AD)

mDS-UserAccountDisabled (ADAM)

いいえ

IsLockedOut

lockoutTime および AD ロックアウト期間から計算 (Windows 2000 上の AD)

msDS-User-Account-Control-Computed (Windows Server 2003 上の AD)

msDS-User-Account-Control-Computed (ADAM)

いいえ

LastLockoutDate

無効なパスワードが何度も試行されたことが原因でロックアウトされた場合は、ロックアウト時刻属性が返されます。

無効なパスワードの回答が何度も試行されたことが原因でロックアウトされた場合は、attributeMapFailedPasswordAnswerLockoutTime で定義された属性に格納された値が返されます。

1 つの無効なパスワードと多数の無効なパスワード試行の両方が原因でロックアウトされた場合は、最後の日付/時刻の値が返されます。

アカウントがロックアウトされていない場合、SQL との互換性のために 1/1/1753 が返されます。

いいえ

使用例使用例

複数のメンバシップ データ ストアからユーザー情報を返す可能性のある、Web ページ上の ActiveDirectoryMembershipUser オブジェクトのプロパティを使用するコード例を次に示します。メンバシップ プロバイダから返された MembershipUser オブジェクトの基になる ActiveDirectoryMembershipUser オブジェクトは LastActivityDate プロパティと LastLoginDate プロパティを実装していないため、メンバシップ プロバイダから返されたユーザー オブジェクトの型が最初にチェックされ、その後でこれらのプロパティの内容が表示されます。

<%@ Page Language="VB" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML
 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<script runat="server">

  Protected Sub Page_Load(ByVal
 sender As Object, ByVal
 e As System.EventArgs)
    Dim user As MembershipUser = Membership.GetUser()
        
    userName.Text = user.UserName
    emailAddress.Text = user.Email
        
    If TypeOf (user) Is
 ActiveDirectoryMembershipUser Then
      lastLoginDate.Text = "Not available"
      lastActivityDate.Text = "Not available"
    Else
      lastLoginDate.Text = user.LastLoginDate.ToString()
      lastActivityDate.Text = user.LastActivityDate.ToString()
    End If
    
    Dim sidValue As System.Security.Principal.SecurityIdentifier
    sidValue = CType(user.ProviderUserKey, System.Security.Principal.SecurityIdentifier)
    
    sid.Text = sidValue.ToString()
  End Sub
</script>

<html >
<head runat="server">
  <title>User information page</title>
</head>
<body>
  <form id="form1" runat="server">
    <div>
      <table>
        <tr>
          <td>
            User name:</td>
          <td>
            <asp:Literal ID="userName" runat="server"
 /></td>
        </tr>
        <tr>
          <td>
            E-mail Address:</td>
          <td>
            <asp:Literal ID="emailAddress" runat="server"
 /></td>
        </tr>
        <tr>
          <td>
            Last Login Date:</td>
          <td>
            <asp:Literal ID="lastLoginDate" runat="server"
 /></td>
        </tr>
        <tr>
          <td>
            Last Activity Date:</td>
          <td>
            <asp:Literal ID="lastActivityDate"
 runat="server" /></td>
        </tr>
        <tr>
          <td>
            Security Identifier SID:</td>
          <td>
            <asp:Literal ID="sid" runat="server"
 /></td>
        </tr>
      </table>
    </div>
  </form>
</body>
</html>
<%@ Page Language="C#" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<script runat="server">

  protected void Page_Load(object sender, EventArgs
 e)
  {
    MembershipUser user =
        Membership.GetUser();

    userName.Text = user.UserName;
    emailAddress.Text = user.Email;

    if (user is ActiveDirectoryMembershipUser)
    {
      lastLoginDate.Text = "Not available";
      lastActivityDate.Text = "Not available";
    }
    else
    {
      lastLoginDate.Text = user.LastLoginDate.ToShortDateString();
      lastActivityDate.Text = user.LastActivityDate.ToShortDateString();
    }
    
    System.Security.Principal.SecurityIdentifier sidValue =
      (System.Security.Principal.SecurityIdentifier)user.ProviderUserKey;

    sid.Text = sidValue.ToString();
  }
</script>

<html >
<head runat="server">
  <title>User information</title>
</head>
<body>
  <form id="form1" runat="server">
    <div>
      <table>
        <tr>
          <td>
            User name:</td>
          <td>
            <asp:Literal ID="userName" runat="server" /></td>
        </tr>
        <tr>
          <td>
            E-mail Address:</td>
          <td>
            <asp:Literal ID="emailAddress" runat="server"
 /></td>
        </tr>
        <tr>
          <td>
            Last Login Date:</td>
          <td>
            <asp:Literal ID="lastLoginDate" runat="server"
 /></td>
        </tr>
        <tr>
          <td>
            Last Activity Date:</td>
          <td>
            <asp:Literal ID="lastActivityDate" runat="server"
 /></td>
        </tr>
        <tr>
          <td>
            Security Identifier SID:</td>
          <td>
            <asp:Literal ID="sid" runat="server" /></td>
        </tr>
      </table>
    </div>
  </form>
</body>
</html>
.NET Framework のセキュリティ.NET Framework のセキュリティ
継承階層継承階層
System.Object
   System.Web.Security.MembershipUser
    System.Web.Security.ActiveDirectoryMembershipUser
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ActiveDirectoryMembershipUser メンバ
System.Web.Security 名前空間
その他の技術情報
メンバシップの概要

ActiveDirectoryMembershipUser コンストラクタ ()

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

ActiveDirectoryMembershipUser クラスを継承するクラスに対し、ActiveDirectoryMembershipUser オブジェクトの新しいインスタンスを初期化します。

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

Dim instance As New ActiveDirectoryMembershipUser
protected ActiveDirectoryMembershipUser ()
protected:
ActiveDirectoryMembershipUser ()
protected ActiveDirectoryMembershipUser ()
protected function ActiveDirectoryMembershipUser
 ()
解説解説

ActiveDirectoryMembershipUser コンストラクタは、コードで使用するためのものではありません。

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

ActiveDirectoryMembershipUser コンストラクタ (String, String, Object, String, String, String, Boolean, Boolean, DateTime, DateTime, DateTime, DateTime, DateTime)

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

指定したプロパティ値を使用して、ActiveDirectoryMembershipUser クラスの新しいインスタンスを作成します。

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

Public Sub New ( _
    providerName As String, _
    name As String, _
    providerUserKey As Object, _
    email As String, _
    passwordQuestion As String, _
    comment As String, _
    isApproved As Boolean, _
    isLockedOut As Boolean, _
    creationDate As DateTime, _
    lastLoginDate As DateTime, _
    lastActivityDate As DateTime, _
    lastPasswordChangedDate As DateTime, _
    lastLockoutDate As DateTime _
)
Dim providerName As String
Dim name As String
Dim providerUserKey As Object
Dim email As String
Dim passwordQuestion As String
Dim comment As String
Dim isApproved As Boolean
Dim isLockedOut As Boolean
Dim creationDate As DateTime
Dim lastLoginDate As DateTime
Dim lastActivityDate As DateTime
Dim lastPasswordChangedDate As DateTime
Dim lastLockoutDate As DateTime

Dim instance As New ActiveDirectoryMembershipUser(providerName,
 name, providerUserKey, email, passwordQuestion, comment, isApproved, isLockedOut,
 creationDate, lastLoginDate, lastActivityDate, lastPasswordChangedDate, lastLockoutDate)
public ActiveDirectoryMembershipUser (
    string providerName,
    string name,
    Object providerUserKey,
    string email,
    string passwordQuestion,
    string comment,
    bool isApproved,
    bool isLockedOut,
    DateTime creationDate,
    DateTime lastLoginDate,
    DateTime lastActivityDate,
    DateTime lastPasswordChangedDate,
    DateTime lastLockoutDate
)
public:
ActiveDirectoryMembershipUser (
    String^ providerName, 
    String^ name, 
    Object^ providerUserKey, 
    String^ email, 
    String^ passwordQuestion, 
    String^ comment, 
    bool isApproved, 
    bool isLockedOut, 
    DateTime creationDate, 
    DateTime lastLoginDate, 
    DateTime lastActivityDate, 
    DateTime lastPasswordChangedDate, 
    DateTime lastLockoutDate
)
public ActiveDirectoryMembershipUser (
    String providerName, 
    String name, 
    Object providerUserKey, 
    String email, 
    String passwordQuestion, 
    String comment, 
    boolean isApproved, 
    boolean isLockedOut, 
    DateTime creationDate, 
    DateTime lastLoginDate, 
    DateTime lastActivityDate, 
    DateTime lastPasswordChangedDate, 
    DateTime lastLockoutDate
)
public function ActiveDirectoryMembershipUser
 (
    providerName : String, 
    name : String, 
    providerUserKey : Object, 
    email : String, 
    passwordQuestion : String, 
    comment : String, 
    isApproved : boolean, 
    isLockedOut : boolean, 
    creationDate : DateTime, 
    lastLoginDate : DateTime, 
    lastActivityDate : DateTime, 
    lastPasswordChangedDate : DateTime, 
    lastLockoutDate : DateTime
)

パラメータ

providerName

メンバシップ ユーザーの ProviderName。

name

メンバシップ ユーザーの Username。

providerUserKey

メンバシップ ユーザーの ProviderUserKey。

email

メンバシップ ユーザーの Email アドレス。

passwordQuestion

メンバシップ ユーザーの PasswordQuestion。

comment

メンバシップ ユーザーの Comment。

isApproved

メンバシップ ユーザーの IsApproved 値。

isLockedOut

メンバシップ ユーザーの IsLockedOut 値。

creationDate

メンバシップ ユーザーの CreationDate。

lastLoginDate

メンバシップ ユーザーの LastLoginDate。このパラメータは使用されません。

lastActivityDate

メンバシップ ユーザーの LastActivityDate。このパラメータは使用されません。

lastPasswordChangedDate

メンバシップ ユーザーの LastPasswordChangedDate。

lastLockoutDate

メンバシップ ユーザーの LastLockoutDate。

例外例外
例外の種類条件

ArgumentException

providerUserKey が SecurityIdentifier オブジェクトではありません。

または

providerName が null 参照 (Visual Basic では Nothing) であり、アプリケーションの構成ファイルにプロバイダが設定されていません。

解説解説

新しい ActiveDirectoryMembershipUser オブジェクトを作成しても、メンバシップ データ ストアに新しいメンバシップ ユーザー オブジェクトが追加されるわけではありません。新しいメンバシップ ユーザーをメンバシップ データ ストアに追加するには、CreateUser メソッドを使用する必要があります。CreateUser メソッドは、データ ストアに追加されたメンバシップ ユーザーの ActiveDirectoryMembershipUser オブジェクトを返します。

CreateUser、GetUser、GetAllUsers、FindUsersByName、または FindUsersByEmail の各メソッドから返された ActiveDirectoryMembershipUser オブジェクトを UpdateUser メソッドに渡すこともできますが、通常、アプリケーション コードでは、UpdateUser メソッドで使用する ActiveDirectoryMembershipUser オブジェクトが作成されます。

ActiveDirectoryMembershipUser オブジェクトは、通常、CreateUser、GetUser、GetAllUsers、UpdateUser、FindUsersByName、および FindUsersByEmail の各メソッドのメンバシップ プロバイダ実装によっても作成されます。

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

ActiveDirectoryMembershipUser コンストラクタ

ActiveDirectoryMembershipUser クラスの新しいインスタンスを初期化します。
オーバーロードの一覧オーバーロードの一覧

名前 説明
ActiveDirectoryMembershipUser () ActiveDirectoryMembershipUser クラスを継承するクラスに対し、ActiveDirectoryMembershipUser オブジェクトの新しいインスタンスを初期化します。
ActiveDirectoryMembershipUser (String, String, Object, String, String, String, Boolean, Boolean, DateTime, DateTime, DateTime, DateTime, DateTime) 指定したプロパティ値を使用して、ActiveDirectoryMembershipUser クラスの新しいインスタンスを作成します。
参照参照

関連項目

ActiveDirectoryMembershipUser クラス
ActiveDirectoryMembershipUser メンバ
System.Web.Security 名前空間

ActiveDirectoryMembershipUser プロパティ


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

  名前 説明
パブリック プロパティ Comment オーバーライドされます。 メンバシップ ユーザーのアプリケーション固有情報を取得または設定します。
パブリック プロパティ CreationDate  ユーザーがメンバシップ データ ストアに追加された日時を取得します。 ( MembershipUser から継承されます。)
パブリック プロパティ Email オーバーライドされます。 メンバシップ ユーザーの電子メール アドレスを取得または設定します。
パブリック プロパティ IsApproved オーバーライドされます。 メンバシップ ユーザーを認証できるかどうかを示す値を取得または設定します。
パブリック プロパティ IsLockedOut  メンバシップ ユーザーがロックされ、検証できない状態であるかどうかを示す値を取得します。 ( MembershipUser から継承されます。)
パブリック プロパティ IsOnline  ユーザーがオンライン中であるかどうかを示す値を取得します。 ( MembershipUser から継承されます。)
パブリック プロパティ LastActivityDate オーバーライドされます。 常に NotSupportedException 例外をスローします。
パブリック プロパティ LastLockoutDate  メンバシップ ユーザーがロックされた最新の日時を取得します。 ( MembershipUser から継承されます。)
パブリック プロパティ LastLoginDate オーバーライドされます。 常に NotSupportedException 例外をスローします。
パブリック プロパティ LastPasswordChangedDate  メンバシップ ユーザーのパスワードが最後に更新されたときの日時を取得します。 ( MembershipUser から継承されます。)
パブリック プロパティ PasswordQuestion  メンバシップ ユーザーに対するパスワードの質問を取得します。 ( MembershipUser から継承されます。)
パブリック プロパティ ProviderName  メンバシップ ユーザーのユーザー情報を格納および取得するメンバシップ プロバイダの名前を取得します。 ( MembershipUser から継承されます。)
パブリック プロパティ ProviderUserKey オーバーライドされます。 Active Directory データ ストアからメンバシップ ユーザーのユーザー ID を取得します。
パブリック プロパティ UserName  メンバシップ ユーザーのログオン名を取得します。 ( MembershipUser から継承されます。)
参照参照

関連項目

ActiveDirectoryMembershipUser クラス
System.Web.Security 名前空間

その他の技術情報

メンバシップの概要

ActiveDirectoryMembershipUser メソッド


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

( プロテクト メソッド も参照)
  名前 説明
パブリック メソッド ChangePassword  メンバシップ データ ストア内のメンバシップ ユーザーのパスワードを更新します。 ( MembershipUser から継承されます。)
パブリック メソッド ChangePasswordQuestionAndAnswer  メンバシップ データ ストア内のメンバシップ ユーザーのパスワードの質問と解答を更新します。 ( MembershipUser から継承されます。)
パブリック メソッド Equals  オーバーロードされます。 2 つの Object インスタンスが等しいかどうかを判断します。 ( Object から継承されます。)
パブリック メソッド GetHashCode  特定の型のハッシュ関数として機能します。GetHashCode は、ハッシュ アルゴリズムや、ハッシュ テーブルのようなデータ構造での使用に適しています。 ( Object から継承されます。)
パブリック メソッド GetPassword  オーバーロードされます。 メンバシップ データ ストアからメンバシップ ユーザーのパスワードを取得します。 ( MembershipUser から継承されます。)
パブリック メソッド GetType  現在のインスタンスの Type を取得します。 ( Object から継承されます。)
パブリック メソッド ReferenceEquals  指定した複数の Object インスタンスが同一かどうかを判断します。 ( Object から継承されます。)
パブリック メソッド ResetPassword  オーバーロードされます。 ユーザーのパスワードを、自動的に生成された新しいパスワードにリセットします。 ( MembershipUser から継承されます。)
パブリック メソッド ToString  メンバシップ ユーザーのユーザー名を返します。 ( MembershipUser から継承されます。)
パブリック メソッド UnlockUser  ユーザーのロック状態を解除して、メンバシップ ユーザーを検証可能な状態にします。 ( MembershipUser から継承されます。)
プロテクト メソッドプロテクト メソッド
参照参照

関連項目

ActiveDirectoryMembershipUser クラス
System.Web.Security 名前空間

その他の技術情報

メンバシップの概要

ActiveDirectoryMembershipUser メンバ

Active Directory データ ストアに格納されているメンバシップ ユーザー情報を公開および更新します。

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


パブリック コンストラクタパブリック コンストラクタ
( プロテクト コンストラクタ も参照)
  名前 説明
パブリック メソッド ActiveDirectoryMembershipUser オーバーロードされます。 ActiveDirectoryMembershipUser クラスの新しいインスタンスを初期化します。
プロテクト コンストラクタプロテクト コンストラクタ
  名前 説明
プロテクト メソッド ActiveDirectoryMembershipUser オーバーロードされます。 ActiveDirectoryMembershipUser クラスの新しいインスタンスを初期化します。
パブリック プロパティパブリック プロパティ
  名前 説明
パブリック プロパティ Comment オーバーライドされます。 メンバシップ ユーザーのアプリケーション固有情報を取得または設定します。
パブリック プロパティ CreationDate  ユーザーがメンバシップ データ ストアに追加された日時を取得します。(MembershipUser から継承されます。)
パブリック プロパティ Email オーバーライドされます。 メンバシップ ユーザーの電子メール アドレスを取得または設定します。
パブリック プロパティ IsApproved オーバーライドされます。 メンバシップ ユーザーを認証できるかどうかを示す値を取得または設定します。
パブリック プロパティ IsLockedOut  メンバシップ ユーザーがロックされ、検証できない状態であるかどうかを示す値を取得します。(MembershipUser から継承されます。)
パブリック プロパティ IsOnline  ユーザーがオンライン中であるかどうかを示す値を取得します。(MembershipUser から継承されます。)
パブリック プロパティ LastActivityDate オーバーライドされます。 常に NotSupportedException 例外をスローします。
パブリック プロパティ LastLockoutDate  メンバシップ ユーザーがロックされた最新の日時を取得します。(MembershipUser から継承されます。)
パブリック プロパティ LastLoginDate オーバーライドされます。 常に NotSupportedException 例外をスローします。
パブリック プロパティ LastPasswordChangedDate  メンバシップ ユーザーのパスワードが最後に更新されたときの日時を取得します。(MembershipUser から継承されます。)
パブリック プロパティ PasswordQuestion  メンバシップ ユーザーに対するパスワードの質問を取得します。(MembershipUser から継承されます。)
パブリック プロパティ ProviderName  メンバシップ ユーザーのユーザー情報を格納および取得するメンバシップ プロバイダの名前を取得します。(MembershipUser から継承されます。)
パブリック プロパティ ProviderUserKey オーバーライドされます。 Active Directory データ ストアからメンバシップ ユーザーのユーザー ID を取得します。
パブリック プロパティ UserName  メンバシップ ユーザーのログオン名を取得します。(MembershipUser から継承されます。)
パブリック メソッドパブリック メソッド
( プロテクト メソッド も参照)
  名前 説明
パブリック メソッド ChangePassword  メンバシップ データ ストア内のメンバシップ ユーザーのパスワードを更新します。 (MembershipUser から継承されます。)
パブリック メソッド ChangePasswordQuestionAndAnswer  メンバシップ データ ストア内のメンバシップ ユーザーのパスワードの質問と解答を更新します。 (MembershipUser から継承されます。)
パブリック メソッド Equals  オーバーロードされます。 2 つの Object インスタンスが等しいかどうかを判断します。 (Object から継承されます。)
パブリック メソッド GetHashCode  特定の型のハッシュ関数として機能します。GetHashCode は、ハッシュ アルゴリズムや、ハッシュ テーブルのようなデータ構造での使用に適しています。 (Object から継承されます。)
パブリック メソッド GetPassword  オーバーロードされます。 メンバシップ データ ストアからメンバシップ ユーザーのパスワードを取得します。 (MembershipUser から継承されます。)
パブリック メソッド GetType  現在のインスタンスの Type を取得します。 (Object から継承されます。)
パブリック メソッド ReferenceEquals  指定した複数の Object インスタンスが同一かどうかを判断します。 (Object から継承されます。)
パブリック メソッド ResetPassword  オーバーロードされます。 ユーザーのパスワードを、自動的に生成された新しいパスワードにリセットします。 (MembershipUser から継承されます。)
パブリック メソッド ToString  メンバシップ ユーザーのユーザー名を返します。 (MembershipUser から継承されます。)
パブリック メソッド UnlockUser  ユーザーのロック状態を解除して、メンバシップ ユーザーを検証可能な状態にします。 (MembershipUser から継承されます。)
プロテクト メソッドプロテクト メソッド
参照参照

関連項目

ActiveDirectoryMembershipUser クラス
System.Web.Security 名前空間

その他の技術情報

メンバシップの概要



英和和英テキスト翻訳

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

辞書ショートカット

すべての辞書の索引

「ActiveDirectoryMembershipUser」の関連用語

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

   

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



ActiveDirectoryMembershipUserのページの著作権

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

©2026 GRAS Group, Inc.RSS