Share via


PropertyIsPrivateException Class

The PropertyIsPrivateException class represents an exception that is thrown when a user attempts to change the value of a private property on a profile of another user and does not have the right to manage people.

Microsoft.SharePoint.Portal.UserProfiles.UserProfileException

   Microsoft.SharePoint.Portal.UserProfiles.PropertyIsPrivateException

Public Constructors

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

Name Description
PropertyIsPrivateException Initializes a new instance of the PropertyIsPrivateException class.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread safe.

Remarks

Only the user or an administrator with proper rights can update private property values on user profiles.

Requirements

Namespace: Microsoft.SharePoint.Portal.UserProfiles

Platforms: Microsoft Windows Server 2003

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

Security: Code Access Security