PersonalizationStateQuery.UsernameToMatch Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the user name in a query.

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

public string UsernameToMatch { get; set; }

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: