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


AccessControlEntry Class

Class for encapsulating the allowed and denied permissions for a given IdentityDescriptor.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Framework.Client.AccessControlEntry
    Microsoft.TeamFoundation.VersionControl.Client.AccessControlEntryFromVersionControl

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

Syntax

'Declaration
Public Class AccessControlEntry
public class AccessControlEntry
public ref class AccessControlEntry
type AccessControlEntry =  class end
public class AccessControlEntry

The AccessControlEntry type exposes the following members.

Constructors

  Name Description
Protected method AccessControlEntry() Initializes a new instance of the AccessControlEntry class.
Public method AccessControlEntry(IdentityDescriptor, Int32, Int32) Initializes a new AccessControlEntry instance.

Top

Properties

  Name Description
Public property Allow Gets or sets the set of permission bits that represents the actions that the associated identity is allowed to perform.
Public property Deny Gets or sets the set of permission bits that represents the actions that the associated identity is not allowed to perform.
Public property Descriptor Gets or sets the identity descriptor that is associated with this AccessControlEntry instance.
Public property ExtendedInfo Gets the extended information that is associated with this AccessControlEntry instance.
Public property IsEmpty Gets a flag that describes whether this AccessControlEntry has no permissions that are set.

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 Returns a string that represents the current object. (Inherited from Object.)

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