PersonalizationStateQuery.UsernameToMatch Property

Note: This property is new in the .NET Framework version 2.0.

Gets or sets the user name in a query.

Namespace: System.Web.UI.WebControls.WebParts
Assembly: System.Web (in system.web.dll)

public:
property String^ UsernameToMatch {
	String^ get ();
	void set (String^ value);
}
/** @property */
public String get_UsernameToMatch ()

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

public function get UsernameToMatch () : String

public function set UsernameToMatch (value : String)

Property Value

The user name to be used in a query.

This property represents the user name to filter against when executing a query. If UsernameToMatch contains wildcard characters, they are passed through to the underlying data store. This property can be set to a null reference (Nothing in Visual Basic), indicating that a query should not filter based on the user name. If this property is non-a null reference (Nothing in Visual Basic), its value is trimmed.

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

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show: