FormsAuthenticationCredentials.Users プロパティとは何? わかりやすく解説 Weblio辞書 (original) (raw)

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

ユーザーの名前とパスワード資格情報取得します

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

Visual Basic (宣言)

Public ReadOnly Property Users As FormsAuthenticationUserCollection

Visual Basic (使用法)

Dim instance As FormsAuthenticationCredentials Dim value As FormsAuthenticationUserCollection

value = instance.Users

C#

public FormsAuthenticationUserCollection Users { get; }

C++

public: property FormsAuthenticationUserCollection^ Users { FormsAuthenticationUserCollection^ get (); }

J#

/** @property */ public FormsAuthenticationUserCollection get_Users ()

JScript

public function get Users () : FormsAuthenticationUserCollection

プロパティ
ユーザーの名前とパスワード資格情報格納される FormsAuthenticationUserCollection。

使用例使用例

Users プロパティ使用する方法次のコード例示しますセクション取得する方法については、FormsAuthenticationCredentials クラストピックにあるコード例参照してください

Visual Basic

' Create a new FormsAuthenticationUserCollection object. Dim newformsAuthenticationUser _ As New FormsAuthenticationUserCollection()

C#

// Create a new FormsAuthenticationUserCollection object. FormsAuthenticationUserCollection newformsAuthenticationUser = new FormsAuthenticationUserCollection();

プラットフォームプラットフォーム

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

開発プラットフォーム中には.NET Framework によってサポートされていないバージョンありますサポートされているバージョンについては、「システム要件」を参照してください

バージョン情報バージョン情報

.NET Framework
サポート対象 : 2.0

参照参照

関連項目
FormsAuthenticationCredentials クラス
FormsAuthenticationCredentials メンバ
System.Web.Configuration 名前空間
FormsAuthenticationUserCollection
FormsAuthenticationUser