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