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

'Declaration
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.)
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.)
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 Specifies the global permission for admin configuration.
Public fieldStatic member GlobalPermissionAdminConnections Specifies the global permission for admin connections.
Public fieldStatic member GlobalPermissionAdminShelvesets Specifies the global permission for admin shelvesets.
Public fieldStatic member GlobalPermissionAdminWorkspaces Specifies the global permission for admin workspaces.
Public fieldStatic member GlobalPermissionCreateWorkspace Specifies the global permission for create workspace operation.
Public fieldStatic member ItemPermissionAdminProjectRights Specifies the item permission for admin project rights.
Public fieldStatic member ItemPermissionCheckin Specifies the item permission for checkin operation.
Public fieldStatic member ItemPermissionCheckinOther Specifies the item permission for CheckinOther operation.
Public fieldStatic member ItemPermissionLabel Specifies the item permission for label operation.
Public fieldStatic member ItemPermissionLabelOther Specifies the item permission for LabelOther operation.
Public fieldStatic member ItemPermissionLock Specifies the item permission for lock operation.
Public fieldStatic member ItemPermissionManageBranch Specifies the item permission for ManageBranch operation.
Public fieldStatic member ItemPermissionMerge Specifies the item permission for merge operation.
Public fieldStatic member ItemPermissionPendChange Specifies the item permission for PendChange operation.
Public fieldStatic member ItemPermissionRead Specifies the item permission for read operation.
Public fieldStatic member ItemPermissionReviseOther Specifies the item permission for ReviseOther operation.
Public fieldStatic member ItemPermissionUndoOther Specifies the item permission for UndoOther operation.
Public fieldStatic member ItemPermissionUnlockOther Specifies the item permission for UnlockOther operation.

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