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)


Public Function GetUserProfile ( _
    strAccountName As String _
) As UserProfile
Dim instance As UserProfileManager
Dim strAccountName As String
Dim returnValue As UserProfile

returnValue = instance.GetUserProfile(strAccountName)
public UserProfile GetUserProfile(
    string strAccountName


  • strAccountName
    Type: System.String

    The account name of the user profile.

Return value

Type: Microsoft.Office.Server.UserProfiles.UserProfile
that represents a user profile.

See also


UserProfileManager class

UserProfileManager members

GetUserProfile overload

Microsoft.Office.Server.UserProfiles namespace