Condividi tramite


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