Share via


ProfileManagerBase.Search method (String)

Retrieves an array of ProfileBase objects of a particular profile type whose searchable properties match the specified search pattern.

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Function Search ( _
    searchPattern As String _
) As ProfileBase()
'Usage
Dim instance As ProfileManagerBase
Dim searchPattern As String
Dim returnValue As ProfileBase()

returnValue = instance.Search(searchPattern)
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public ProfileBase[] Search(
    string searchPattern
)

Parameters

Return value

Type: []

See also

Reference

ProfileManagerBase class

ProfileManagerBase members

Search overload

Microsoft.Office.Server.UserProfiles namespace