Share via


QueryPersonalizationData.UserId property

Gets or sets the ID of the current user.

Namespace:  Microsoft.Office.Server.Search.Query
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
<DataMemberAttribute> _
Public Property UserId As Guid
    Get
    Set
'Usage
Dim instance As QueryPersonalizationData
Dim value As Guid

value = instance.UserId

instance.UserId = value
[DataMemberAttribute]
public Guid UserId { get; set; }

Property value

Type: System.Guid
The current user ID.

See also

Reference

QueryPersonalizationData class

QueryPersonalizationData members

Microsoft.Office.Server.Search.Query namespace