FormsAuthenticationCredentials.Users プロパティとは何? わかりやすく解説 Weblio辞書 (original) (raw)
メモ : このプロパティは、.NET Framework version 2.0 で新しく追加されたものです。
名前空間: System.Web.Configuration
アセンブリ: System.Web (system.web.dll 内)
構文
Public ReadOnly Property Users As FormsAuthenticationUserCollection
Dim instance As FormsAuthenticationCredentials Dim value As FormsAuthenticationUserCollection
value = instance.Users
public FormsAuthenticationUserCollection Users { get; }
public: property FormsAuthenticationUserCollection^ Users { FormsAuthenticationUserCollection^ get (); }
/** @property */ public FormsAuthenticationUserCollection get_Users ()
public function get Users () : FormsAuthenticationUserCollection
プロパティ値
ユーザーの名前とパスワードの資格情報が格納される FormsAuthenticationUserCollection。
Users プロパティを使用する方法を次のコード例に示します。セクションを取得する方法については、FormsAuthenticationCredentials クラスのトピックにあるコード例を参照してください。
' Create a new FormsAuthenticationUserCollection object. Dim newformsAuthenticationUser _ As New FormsAuthenticationUserCollection()
// 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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
関連項目
FormsAuthenticationCredentials クラス
FormsAuthenticationCredentials メンバ
System.Web.Configuration 名前空間
FormsAuthenticationUserCollection
FormsAuthenticationUser