FormsAuthenticationUserCollection.Item Property (String)

 

Gets the FormsAuthenticationUser with the specified name.

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

member Item : 
        name:string -> FormsAuthenticationUser with get

Parameters

name
Type: System.String

The user's name.

Property Value

Type: System.Web.Configuration.FormsAuthenticationUser

A FormsAuthenticationUser object that contains the user name and password.

The following code example shows how to access the credentials of a user with the specified name.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: