Location.CurrentUserProfile property

Gets or sets the user profile to use for the search query.

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

Syntax

'Declaration
Public Property CurrentUserProfile As UserProfile
    Get
    Set
'Usage
Dim instance As Location
Dim value As UserProfile

value = instance.CurrentUserProfile

instance.CurrentUserProfile = value
public UserProfile CurrentUserProfile { get; set; }

Property value

Type: Microsoft.Office.Server.UserProfiles.UserProfile
The user profile to use.

See also

Reference

Location class

Location members

Microsoft.Office.Server.Search.Query namespace