FormsAuthenticationCredentials.Users Property

 

Gets the users' names and password credentials.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

<ConfigurationPropertyAttribute("", IsDefaultCollection := True,
	Options := ConfigurationPropertyOptions.IsDefaultCollection)>
Public ReadOnly Property Users As FormsAuthenticationUserCollection

Property Value

Type: System.Web.Configuration.FormsAuthenticationUserCollection

A FormsAuthenticationUserCollection that contains the users' names and password credentials.

The following code example shows how to use the Users property. Refer to the code example in the FormsAuthenticationCredentials class topic to learn how to get the section.

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

.NET Framework
Available since 2.0
Return to top
Show: