次の方法で共有


FormsAuthenticationCredentials.Users プロパティ

定義

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

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

ユーザーの名前とパスワードの資格情報が格納される FormsAuthenticationUserCollection

属性

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


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

適用対象

こちらもご覧ください