Redigera

Dela via


FormsAuthenticationUserCollection.Item[] Property

Definition

Gets the specified FormsAuthenticationUser collection item.

Overloads

Item[Int32]

Gets the FormsAuthenticationUser at the specified index.

Item[String]

Gets the FormsAuthenticationUser with the specified name.

Item[Int32]

Gets the FormsAuthenticationUser at the specified index.

public:
 property System::Web::Configuration::FormsAuthenticationUser ^ default[int] { System::Web::Configuration::FormsAuthenticationUser ^ get(int index); void set(int index, System::Web::Configuration::FormsAuthenticationUser ^ value); };
public System.Web.Configuration.FormsAuthenticationUser this[int index] { get; set; }
member this.Item(int) : System.Web.Configuration.FormsAuthenticationUser with get, set
Default Public Property Item(index As Integer) As FormsAuthenticationUser

Parameters

index
Int32

The collection user's index.

Property Value

A FormsAuthenticationUser that contains the user name and password.

Applies to

Item[String]

Gets the FormsAuthenticationUser with the specified name.

public:
 property System::Web::Configuration::FormsAuthenticationUser ^ default[System::String ^] { System::Web::Configuration::FormsAuthenticationUser ^ get(System::String ^ name); };
public System.Web.Configuration.FormsAuthenticationUser this[string name] { get; }
member this.Item(string) : System.Web.Configuration.FormsAuthenticationUser
Default Public ReadOnly Property Item(name As String) As FormsAuthenticationUser

Parameters

name
String

The user's name.

Property Value

A FormsAuthenticationUser object that contains the user name and password.

Applies to