FormsAuthenticationCredentials.Users Vlastnost

Definice

Získá jména uživatelů a přihlašovací údaje k heslem.

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

Hodnota vlastnosti

FormsAuthenticationUserCollection

A FormsAuthenticationUserCollection , který obsahuje jména uživatelů a přihlašovací údaje k heslem.

Atributy

Příklady

Následující příklad kódu ukazuje, jak použít Users vlastnost. Informace o získání oddílu najdete v příkladu FormsAuthenticationCredentials kódu v tématu předmětu.


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

Platí pro

Viz také