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 Value

Type: System::String^

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 null, indicating that a query should not filter based on the user name. If this property is non-null, its value is trimmed.

.NET Framework
Available since 2.0
Return to top
Show: