共用方式為


UserProfileManager.GetProfile Method

Gets the user profile with the specified record identifier.

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaration
Public Overrides Function GetProfile ( _
    recordId As Long _
) As ProfileBase
'Usage
Dim instance As UserProfileManager
Dim recordId As Long
Dim returnValue As ProfileBase

returnValue = instance.GetProfile(recordId)
public override ProfileBase GetProfile(
    long recordId
)

Parameters

Return Value

Type: Microsoft.Office.Server.UserProfiles.ProfileBase
Returns ProfileBase.

See Also

Reference

UserProfileManager Class

UserProfileManager Members

Microsoft.Office.Server.UserProfiles Namespace