UserProfileManager.GetUserProfile Method (String)
Gets the UserProfile object for the specified account name.
Namespace: Microsoft.Office.Server.UserProfiles
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
Public Function GetUserProfile ( _
strAccountName As String _
) As UserProfile
'Usage
Dim instance As UserProfileManager
Dim strAccountName As String
Dim returnValue As UserProfile
returnValue = instance.GetUserProfile(strAccountName)
public UserProfile GetUserProfile(
string strAccountName
)
Parameters
strAccountName
Type: System.StringThe account name of the user profile.
Return Value
Type: Microsoft.Office.Server.UserProfiles.UserProfile
that represents a user profile.