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

Return profiles for specific subtypes, 0 means all subtypes.

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(), _
    nSubtypeId As Integer, _
    bDeleted As Nullable(Of Boolean) _
) As ProfileBase()
'Usage
Dim instance As ProfileManagerBase
Dim searchPattern As String()
Dim nSubtypeId As Integer
Dim bDeleted As Nullable(Of Boolean)
Dim returnValue As ProfileBase()

returnValue = instance.Search(searchPattern, _
    nSubtypeId, bDeleted)
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public ProfileBase[] Search(
    string[] searchPattern,
    int nSubtypeId,
    Nullable<bool> bDeleted
)

Parameters

  • searchPattern
    Type: []

Return value

Type: []
Returns .

See also

Reference

ProfileManagerBase class

ProfileManagerBase members

Search overload

Microsoft.Office.Server.UserProfiles namespace