Share via


FormsAuthenticationCredentials.Users Eigenschaft

Definition

Ruft die Namen und Kennwortinformationen der Benutzer ab.

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

Eigenschaftswert

FormsAuthenticationUserCollection

Eine FormsAuthenticationUserCollection, die die Namen und Kennwortinformationen der Benutzer enthält.

Attribute

Beispiele

Im folgenden Codebeispiel wird die Verwendung der Users-Eigenschaft veranschaulicht. Weitere Informationen zum Abrufen des FormsAuthenticationCredentials Abschnitts finden Sie im Codebeispiel im Kursthema.


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

Gilt für

Siehe auch