ProfileManagerBase.Search ProfileManagerBase.Search ProfileManagerBase.Search Method

Definition

Overloads

Search(String) Search(String) Search(String)

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

Search(String[]) Search(String[]) Search(String[])

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

Search(OrganizationProfile, String) Search(OrganizationProfile, String) Search(OrganizationProfile, String)

Retrieves an array of users and organizations (as ProfileBase objects) under the specified OrganizationProfile object whose searchable properties match a specified search pattern.

Search(OrganizationProfile, String[]) Search(OrganizationProfile, String[]) Search(OrganizationProfile, String[])

Retrieves an array of users and organizations (as ProfileBase objects) under the specified OrganizationProfile object whose searchable properties match the specified search patterns.

Search(String[], Int32, Nullable<Boolean>) Search(String[], Int32, Nullable<Boolean>) Search(String[], Int32, Nullable<Boolean>)

Return profiles for specific subtypes, 0 means all subtypes.

Search(String) Search(String) Search(String)

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

public:
 cli::array <Microsoft::Office::Server::UserProfiles::ProfileBase ^> ^ Search(System::String ^ searchPattern);
public Microsoft.Office.Server.UserProfiles.ProfileBase[] Search (string searchPattern);
Public Function Search (searchPattern As String) As ProfileBase()
Parameters
searchPattern
String String String
Returns

Search(String[]) Search(String[]) Search(String[])

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

public:
 cli::array <Microsoft::Office::Server::UserProfiles::ProfileBase ^> ^ Search(cli::array <System::String ^> ^ searchPattern);
public Microsoft.Office.Server.UserProfiles.ProfileBase[] Search (string[] searchPattern);
Public Function Search (searchPattern As String()) As ProfileBase()
Parameters
searchPattern
String[]
Returns

Search(OrganizationProfile, String) Search(OrganizationProfile, String) Search(OrganizationProfile, String)

Warning

This API is now obsolete.

Retrieves an array of users and organizations (as ProfileBase objects) under the specified OrganizationProfile object whose searchable properties match a specified search pattern.

public:
 cli::array <Microsoft::Office::Server::UserProfiles::ProfileBase ^> ^ Search(Microsoft::Office::Server::UserProfiles::OrganizationProfile ^ org, System::String ^ searchPattern);
[System.Obsolete("This method is no longer supported.")]
public Microsoft.Office.Server.UserProfiles.ProfileBase[] Search (Microsoft.Office.Server.UserProfiles.OrganizationProfile org, string searchPattern);
Public Function Search (org As OrganizationProfile, searchPattern As String) As ProfileBase()
Parameters
searchPattern
String String String
Returns

Search(OrganizationProfile, String[]) Search(OrganizationProfile, String[]) Search(OrganizationProfile, String[])

Warning

This API is now obsolete.

Retrieves an array of users and organizations (as ProfileBase objects) under the specified OrganizationProfile object whose searchable properties match the specified search patterns.

public:
 cli::array <Microsoft::Office::Server::UserProfiles::ProfileBase ^> ^ Search(Microsoft::Office::Server::UserProfiles::OrganizationProfile ^ org, cli::array <System::String ^> ^ searchPattern);
[System.Obsolete("This method is no longer supported.")]
public Microsoft.Office.Server.UserProfiles.ProfileBase[] Search (Microsoft.Office.Server.UserProfiles.OrganizationProfile org, string[] searchPattern);
Public Function Search (org As OrganizationProfile, searchPattern As String()) As ProfileBase()
Parameters
searchPattern
String[]
Returns

Search(String[], Int32, Nullable<Boolean>) Search(String[], Int32, Nullable<Boolean>) Search(String[], Int32, Nullable<Boolean>)

Return profiles for specific subtypes, 0 means all subtypes.

public:
 cli::array <Microsoft::Office::Server::UserProfiles::ProfileBase ^> ^ Search(cli::array <System::String ^> ^ searchPattern, int nSubtypeId, Nullable<bool> bDeleted);
public Microsoft.Office.Server.UserProfiles.ProfileBase[] Search (string[] searchPattern, int nSubtypeId, Nullable<bool> bDeleted);
Public Function Search (searchPattern As String(), nSubtypeId As Integer, bDeleted As Nullable(Of Boolean)) As ProfileBase()
Parameters
searchPattern
String[]
nSubtypeId
Int32 Int32 Int32
bDeleted
Nullable<Boolean>
Returns

Returns .

Applies to