FormsAuthenticationUserCollection.Get Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the specified FormsAuthenticationUser collection element.
Overloads
Get(String) |
Gets the FormsAuthenticationUser collection element with the specified name. |
Get(Int32) |
Gets the FormsAuthenticationUser collection element at the specified index. |
Get(String)
Gets the FormsAuthenticationUser collection element with the specified name.
public:
System::Web::Configuration::FormsAuthenticationUser ^ Get(System::String ^ name);
public System.Web.Configuration.FormsAuthenticationUser Get (string name);
member this.Get : string -> System.Web.Configuration.FormsAuthenticationUser
Public Function Get (name As String) As FormsAuthenticationUser
Parameters
- name
- String
The user's name.
Returns
A FormsAuthenticationUser object that contains the user name and password.
Applies to
Get(Int32)
Gets the FormsAuthenticationUser collection element at the specified index.
public:
System::Web::Configuration::FormsAuthenticationUser ^ Get(int index);
public System.Web.Configuration.FormsAuthenticationUser Get (int index);
member this.Get : int -> System.Web.Configuration.FormsAuthenticationUser
Public Function Get (index As Integer) As FormsAuthenticationUser
Parameters
- index
- Int32
The collection user's index.
Returns
A FormsAuthenticationUser that contains the user name and password.