Delen via


AccessControlEntry Class

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

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Framework.Server.AccessControlEntry
    Microsoft.TeamFoundation.Framework.Server.AccessControlEntryDetails

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.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
Public method AccessControlEntry()
Public method AccessControlEntry(IdentityDescriptor, Int32, Int32) Creates an AccessControlEntry based on the supplied information.

Top

Properties

  Name Description
Public property Allow The set of permission bits that represent the actions that the associated descriptor can perform.
Public property Deny The set of permission bits that represent the actions that the associated descriptor is not able to perform.
Public property Descriptor The descriptor for the user this AccessControlEntry applies to.
Public property ExtendedInfo This value, when set, reports the inherited and effective information for the associated descriptor. This value is only set on AccessControlEntries returned by the QueryAccessControlList call when its includeExtendedInfo parameter is set to true.
Public property IsEmpty Returns true if there are no permissions set on this AccessControlEntry

Top

Methods

  Name Description
Public method Clone Clones the access control entry.
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

Fields

  Name Description
Protected field m_extendedInfo

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