共用方式為


UserProfileManager.GetUserProfile Method (Int64)

Gets the UserProfile object for the specified record identifier.

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

Syntax

'Declaration
Public Function GetUserProfile ( _
    recordId As Long _
) As UserProfile
'Usage
Dim instance As UserProfileManager
Dim recordId As Long
Dim returnValue As UserProfile

returnValue = instance.GetUserProfile(recordId)
public UserProfile GetUserProfile(
    long recordId
)

Parameters

Return Value

Type: Microsoft.Office.Server.UserProfiles.UserProfile

See Also

Reference

UserProfileManager Class

UserProfileManager Members

GetUserProfile Overload

Microsoft.Office.Server.UserProfiles Namespace