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
- strAccountName
Type: System.String
- doNotResolveToMasterAccount
Type: System.Boolean
Return Value
Type: Microsoft.Office.Server.UserProfiles.UserProfile
Returns UserProfile.