UserProfileManager.GetUserProfile Method (Int64)

Returns the user profile associated with the specified record identifier.

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.Office.Server (in Microsoft.Office.Server.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

  • recordId
    Type: System.Int64
    The record identifier of the user profile.

Return Value

Type: Microsoft.Office.Server.UserProfiles.UserProfile

Remarks

A UserProfile object representing the user profile.

See Also

Reference

UserProfileManager Class

UserProfileManager Members

GetUserProfile Overload

Microsoft.Office.Server.UserProfiles Namespace