Share via


UserProfileManager.GetUserProfile Method (String, Boolean)

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

Syntax

'Declaration
Public Function GetUserProfile ( _
    strAccountName As String, _
    doNotResolveToMasterAccount As Boolean _
) As UserProfile
'Usage
Dim instance As UserProfileManager
Dim strAccountName As String
Dim doNotResolveToMasterAccount As Boolean
Dim returnValue As UserProfile

returnValue = instance.GetUserProfile(strAccountName, _
    doNotResolveToMasterAccount)
public UserProfile GetUserProfile(
    string strAccountName,
    bool doNotResolveToMasterAccount
)

Parameters

Return Value

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

See Also

Reference

UserProfileManager Class

UserProfileManager Members

GetUserProfile Overload

Microsoft.Office.Server.UserProfiles Namespace