FormsAuthenticationCredentials.Users プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
ユーザーの名前とパスワードの資格情報を取得します。
public:
property System::Web::Configuration::FormsAuthenticationUserCollection ^ Users { System::Web::Configuration::FormsAuthenticationUserCollection ^ get(); };
[System.Configuration.ConfigurationProperty("", IsDefaultCollection=true, Options=System.Configuration.ConfigurationPropertyOptions.IsDefaultCollection)]
public System.Web.Configuration.FormsAuthenticationUserCollection Users { get; }
[<System.Configuration.ConfigurationProperty("", IsDefaultCollection=true, Options=System.Configuration.ConfigurationPropertyOptions.IsDefaultCollection)>]
member this.Users : System.Web.Configuration.FormsAuthenticationUserCollection
Public ReadOnly Property Users As FormsAuthenticationUserCollection
プロパティ値
ユーザーの名前とパスワードの資格情報が格納される FormsAuthenticationUserCollection。
- 属性
例
次のコード例は、Users プロパティの使用方法を示しています。 セクションを取得する方法については、クラス トピックの FormsAuthenticationCredentials コード例を参照してください。
// Create a new FormsAuthenticationUserCollection object.
FormsAuthenticationUserCollection newformsAuthenticationUser =
new FormsAuthenticationUserCollection();
' Create a new FormsAuthenticationUserCollection object.
Dim newformsAuthenticationUser _
As New FormsAuthenticationUserCollection()