Compartilhar via


PropertyIsPrivateException class

Representa uma exceção que é lançada quando um usuário tenta alterar o valor de uma propriedade particular em um perfil de outro usuário e não tem o direito de gerenciar pessoas.

Inheritance hierarchy

System.Object
  System.Exception
    Microsoft.Office.Server.UserProfiles.UserProfileException
      Microsoft.Office.Server.UserProfiles.PropertyIsPrivateException

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaração
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class PropertyIsPrivateException _
    Inherits UserProfileException
'Uso
Dim instance As PropertyIsPrivateException
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class PropertyIsPrivateException : UserProfileException

Comentários

Somente o usuário ou o administrador tenha os direitos apropriados pode atualizar valores de propriedade particular em perfis de usuário.

Thread safety

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

Ver também

Referência

PropertyIsPrivateException members

Microsoft.Office.Server.UserProfiles namespace