UserProfileManager.GetUserProfile Method (Int64, Boolean)
Namespace: Microsoft.Office.Server.UserProfiles
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
Public Function GetUserProfile ( _
recordId As Long, _
doNotResolveToMasterAccount As Boolean _
) As UserProfile
'Usage
Dim instance As UserProfileManager
Dim recordId As Long
Dim doNotResolveToMasterAccount As Boolean
Dim returnValue As UserProfile
returnValue = instance.GetUserProfile(recordId, _
doNotResolveToMasterAccount)
public UserProfile GetUserProfile(
long recordId,
bool doNotResolveToMasterAccount
)
Parameters
- recordId
Type: System.Int64
- doNotResolveToMasterAccount
Type: System.Boolean
Return Value
Type: Microsoft.Office.Server.UserProfiles.UserProfile
Returns UserProfile.