MembershipUserCollection::Item Property (String^)
.NET Framework (current version)
Gets the membership user in the collection referenced by the specified user name.
Assembly: System.Web.ApplicationServices (in System.Web.ApplicationServices.dll)
public: property MembershipUser^ default[ String^ name ] { MembershipUser^ get(String^ name); }
Parameters
- name
-
Type:
System::String^
The UserName of the MembershipUser to retrieve from the collection.
Property Value
Type: System.Web.Security::MembershipUser^A MembershipUser object representing the user specified by name.
The MembershipUser object returned by Item property contains a snapshot of user information in the membership data store. That is, changes to the membership user information in the MembershipUserCollection are not reflected in the membership data store. To modify membership user information in the membership data store, use the UpdateUser, CreateUser, and DeleteUser methods.
.NET Framework
Available since 2.0
Available since 2.0
Show: