Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- searchPattern
Type: System.String
Return Value
Type: []