다음을 통해 공유


PermissionChange Class

Represents a change to an item's permissions.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.VersionControl.Server.SecurityChange
    Microsoft.TeamFoundation.VersionControl.Server.PermissionChange

Namespace:  Microsoft.TeamFoundation.VersionControl.Server
Assembly:  Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)

Syntax

'Declaration
<CallOnDeserializationAttribute("DetermineCorrectIdentityName")> _
Public Class PermissionChange _
    Inherits SecurityChange
[CallOnDeserializationAttribute("DetermineCorrectIdentityName")]
public class PermissionChange : SecurityChange
[CallOnDeserializationAttribute(L"DetermineCorrectIdentityName")]
public ref class PermissionChange : public SecurityChange
[<CallOnDeserializationAttribute("DetermineCorrectIdentityName")>]
type PermissionChange =  
    class 
        inherit SecurityChange 
    end
public class PermissionChange extends SecurityChange

The PermissionChange type exposes the following members.

Constructors

  Name Description
Public method PermissionChange

Top

Properties

  Name Description
Public property Allow Permissions to add to the allow list
Public property Deny Permissions to add to the deny list
Public property DisplayName Display name of user or group to change permissions of
Public property IdentityName Name of user or group to change permissions of
Public property Item (Inherited from SecurityChange.)
Public property Remove Permissions to remove from both the allow and deny lists

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString (Overrides Object.ToString().)

Top

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.

See Also

Reference

Microsoft.TeamFoundation.VersionControl.Server Namespace