UserProfileManager.GetUserProfile Method (String)
Returns the user profile associated with the specified account name.
Namespace: Microsoft.Office.Server.UserProfiles
Assembly: Microsoft.Office.Server (in Microsoft.Office.Server.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.String
The account name of the user profile.
Return Value
Type: Microsoft.Office.Server.UserProfiles.UserProfile
A UserProfile object representing the user profile.