GetUserProfile(String) Method
The GetUserProfile method of the UserProfileManager class gets the UserProfile object for the specified account name.
Parameters
strAccountName The account name of the user profile.
Return Value
Microsoft.SharePoint.Portal.UserProfiles.UserProfile A UserProfile that represents a user profile.
Exceptions
Exception Type | Condition |
---|---|
UserNotFoundException | User not found |
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security