Share via


FormsAuthenticationCredentials.Users Propriedade

Definição

Obtém os nomes e as credenciais de senha dos usuários.

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

Valor da propriedade

Um FormsAuthenticationUserCollection que contém os nomes dos usuários e as credenciais de senha.

Atributos

Exemplos

O exemplo de código a seguir mostra como usar a Users propriedade . Consulte o exemplo de código no tópico de FormsAuthenticationCredentials classe para saber como obter a seção.


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

Aplica-se a

Confira também