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


AccessControlEntryDetails Class

This class exists for web service serialization and for reading ACEs out of the database.

While you could do this on the AccessControlEntry class itself, this enables us to hide any properties that should not actually be a part of the public server OM.

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
<ClassVisibilityAttribute(ClientVisibility.ProductInternal)> _
<CallOnDeserializationAttribute("InitializeFromWebService")> _
Public Class AccessControlEntryDetails _
    Inherits AccessControlEntry
[ClassVisibilityAttribute(ClientVisibility.ProductInternal)]
[CallOnDeserializationAttribute("InitializeFromWebService")]
public class AccessControlEntryDetails : AccessControlEntry
[ClassVisibilityAttribute(ClientVisibility::ProductInternal)]
[CallOnDeserializationAttribute(L"InitializeFromWebService")]
public ref class AccessControlEntryDetails : public AccessControlEntry
[<ClassVisibilityAttribute(ClientVisibility.ProductInternal)>]
[<CallOnDeserializationAttribute("InitializeFromWebService")>]
type AccessControlEntryDetails =  
    class 
        inherit AccessControlEntry 
    end
public class AccessControlEntryDetails extends AccessControlEntry

The AccessControlEntryDetails type exposes the following members.

Constructors

  Name Description
Public method AccessControlEntryDetails Creates an instance of this object. This default constructor is needed by the web service.

Top

Properties

  Name Description
Public property Allow The set of permission bits that represent the actions that the associated descriptor can perform. (Inherited from AccessControlEntry.)
Public property Deny The set of permission bits that represent the actions that the associated descriptor is not able to perform. (Inherited from AccessControlEntry.)
Public property Descriptor The descriptor for the user this AccessControlEntry applies to. (Inherited from AccessControlEntry.)
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. (Inherited from AccessControlEntry.)
Public property ExtendedInformation Replicated in this class so that we can have an internal setter in the base class.
Public property IsEmpty Returns true if there are no permissions set on this AccessControlEntry (Inherited from AccessControlEntry.)
Public property SerializableDescriptor Gets or sets the identity for this permission.
Public property Token Gets or sets the token for this permission.

Top

Methods

  Name Description
Public method Clone Clones the access control entry. (Inherited from AccessControlEntry.)
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 (Inherited from AccessControlEntry.)

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