共用方式為


ProfileManagerBase.ResolveProfile Method

Returns an array of ProfileBase objects that 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 ResolveProfile ( _
    searchPattern As String _
) As ProfileBase()
'Usage
Dim instance As ProfileManagerBase
Dim searchPattern As String
Dim returnValue As ProfileBase()

returnValue = instance.ResolveProfile(searchPattern)
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public ProfileBase[] ResolveProfile(
    string searchPattern
)

Parameters

Return Value

Type: []

See Also

Reference

ProfileManagerBase Class

ProfileManagerBase Members

Microsoft.Office.Server.UserProfiles Namespace