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 users and organizations (as ProfileBase objects) under the specified OrganizationProfile object whose searchable properties match the specified search patterns.
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 ( _
org As OrganizationProfile, _
searchPattern As String() _
) As ProfileBase()
'Usage
Dim instance As ProfileManagerBase
Dim org As OrganizationProfile
Dim searchPattern As String()
Dim returnValue As ProfileBase()
returnValue = instance.Search(org, searchPattern)
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public ProfileBase[] Search(
OrganizationProfile org,
string[] searchPattern
)
Parameters
- searchPattern
Type: []
Return Value
Type: []