Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Item Property (Int32)
Collapse the table of content
Expand the table of content

FormsAuthenticationUserCollection.Item Property (Int32)

Gets the FormsAuthenticationUser at the specified index.

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

public FormsAuthenticationUser this[
	int index
] { get; set; }


Type: System.Int32

The collection user's index.

Property Value

Type: System.Web.Configuration.FormsAuthenticationUser
A FormsAuthenticationUser that contains the user name and password.

The following code example shows how to access the credentials of a user at the specified index.

            // Get the user element at the specified index.
            FormsAuthenticationUser storedUser3 = 

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
© 2015 Microsoft