PersonalizationStateQuery.UsernameToMatch Property

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)

Not applicable.

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 Server 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 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

Community Additions

ADD
Show: