MembershipUser.Comment Property

Gets or sets application-specific information for the membership user.

Namespace: System.Web.Security
Assembly: System.Web (in system.web.dll)

public virtual string Comment { get; set; }
/** @property */
public String get_Comment ()

/** @property */
public void set_Comment (String value)

public function get Comment () : String

public function set Comment (value : String)

Not applicable.

Property Value

Application-specific information for the membership user.

The Comment property can be used to store custom information for a membership user that is specific to an application. The amount of information that can be stored in the Comment property for a MembershipUser is defined by the membership provider referenced by the ProviderName property. If your application requires more space to store user information than is allowed by the membership provider, you can implement a custom membership provider, or use the user System.Web.Profile.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0
Show: