GetUserProfileByName(String) Method

The GetUserProfileByName method of the UserProfile service gets user profile property information by account name.

Parameters

AccountName    The account name that specifies the user profile property.

Return Value

Microsoft.SharePoint.Portal.UserProfiles.PropertyData that contains the user profile property information.

Exceptions

Exception Type Condition
UserNotFoundException User is not found.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security