Поделиться через


PermissionChange Class

Represents a permission change.

Inheritance Hierarchy

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

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

Syntax

'Декларация
Public NotInheritable Class PermissionChange _
    Inherits SecurityChange
public sealed class PermissionChange : SecurityChange
public ref class PermissionChange sealed : public SecurityChange
[<Sealed>]
type PermissionChange =  
    class
        inherit SecurityChange
    end
public final class PermissionChange extends SecurityChange

The PermissionChange type exposes the following members.

Constructors

  Name Description
Public method PermissionChange Initializes a new PermissionChange instance.

Top

Properties

  Name Description
Public propertyStatic member AllGlobalLocalizedPermissions Gets an array of all global localized permissions.
Public propertyStatic member AllGlobalPermissions Gets an array of all global permissions.
Public propertyStatic member AllItemPermissions Gets an array of all item permissions.
Public propertyStatic member AllLocalizedItemPermissions Gets an array of all localized item permissions.
Public property Allow Gets or sets the array of allow permissions for the identity.
Public property Deny Gets or sets the deny permissions for the identity.
Public property IdentityName Gets or sets the identity that holds the permission.
Public property Item Gets or sets the path of the item that belongs to this SecurityChange. (Inherited from SecurityChange.)
Public property Remove Gets or sets the array of permissions to remove.

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 a hash function for a particular type. (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 Creates a user-readable string that describes the properties of a PermissionChange object. (Overrides SecurityChange.ToString().)

Top

Fields

  Name Description
Public fieldStatic member GlobalPermissionAdminConfiguration
Public fieldStatic member GlobalPermissionAdminConnections
Public fieldStatic member GlobalPermissionAdminShelvesets
Public fieldStatic member GlobalPermissionAdminWorkspaces
Public fieldStatic member GlobalPermissionCreateWorkspace
Public fieldStatic member ItemPermissionAdminProjectRights
Public fieldStatic member ItemPermissionCheckin
Public fieldStatic member ItemPermissionCheckinOther
Public fieldStatic member ItemPermissionLabel
Public fieldStatic member ItemPermissionLabelOther
Public fieldStatic member ItemPermissionLock
Public fieldStatic member ItemPermissionManageBranch
Public fieldStatic member ItemPermissionMerge
Public fieldStatic member ItemPermissionPendChange
Public fieldStatic member ItemPermissionRead
Public fieldStatic member ItemPermissionReviseOther
Public fieldStatic member ItemPermissionUndoOther
Public fieldStatic member ItemPermissionUnlockOther
Protected field m_item (Inherited from SecurityChange.)

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.Client Namespace