UserNotFoundException Class

The UserNotFoundException class represents an exception that is thrown when an attempt to find the user in the user profile data store fails.



Public Constructors

The following table shows the constructors of the UserNotFoundException class and a brief description of each.

Name Description
UserNotFoundException Initializes an instance of the UserNotFoundException class.

Public Properties

The following table shows the properties of the UserNotFoundException class, the data type of each property, and a brief description of each.

Name Data Type Description
Username String Name of the user.


Namespace: Microsoft.SharePoint.Portal.UserProfiles

Platforms: Microsoft Windows Server 2003

Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Security: Code Access Security