Monday, October 02, 2006

SharePoint Products and Technologies (2003): GetUserProfileByName(String) Method

SharePoint Products and Technologies (2003) SDK Documentation

Methods
Method:
GetUserProfileByName(String) Method.
The GetUserProfileByName method of the UserProfile service gets user profile property information by account name.

Parameters
Parameter: AccountName
The account name that specifies the user profile property.
Return ValueMicrosoft.SharePoint.Portal.UserProfiles.PropertyData that contains the user profile property information.

Exceptions
Exception Type:
UserNotFoundException Class.
Condition: User is not found.

Requirements
Platforms: Microsoft Windows Server 2003.
Security:
Code Access Security.

2 comments:

  1. Anonymous6:03 AM EDT

    How do I handle the UserNotFound exception in InfoPath without adding code?

    ReplyDelete
  2. Anonymous6:04 AM EDT

    How do I handle the UserNotFound exception in InfoPath?

    ReplyDelete