System.Web.Security.MembershipUser Class

Exposes and updates membership user information in the membership data store.

See Also: MembershipUser Members

Syntax

public class MembershipUser

Remarks

The System.Web.Security.MembershipUser object is used to represent a single membership user in the membership data store. It exposes information about the membership user such as the e-mail address, and provides functionality for the membership user such as the ability to change or reset his or her password.

Note:

If you are not familiar with the membership features of ASP.NET, see Introduction to Membership before continuing. For a list of other topics related to membership, see Managing Users By Using Membership.

A System.Web.Security.MembershipUser object is returned by the Membership.GetUser and Membership.CreateUser(string, string) methods or as part of a System.Web.Security.MembershipUserCollection returned by the Membership.GetAllUsers, erload:System.Web.Security.Membership.FindUsersByName, and erload:System.Web.Security.Membership.FindUsersByEmail methods.

A System.Web.Security.MembershipUser object is required by the Membership.UpdateUser(MembershipUser) method when you want to update the information for an existing membership user.

Requirements

Namespace: System.Web.Security
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0