AccessControlListDetails Class

Exists for web service serialization and for reading ACLs out of the database.

While you could do this on the AccessControlList 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.AccessControlList
    Microsoft.TeamFoundation.Framework.Server.AccessControlListDetails

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

Syntax

'Declaration
<ClassVisibilityAttribute(ClientVisibility.Internal)> _
<CallOnDeserializationAttribute("InitializeFromWebService")> _
Public Class AccessControlListDetails _
    Inherits AccessControlList
[ClassVisibilityAttribute(ClientVisibility.Internal)]
[CallOnDeserializationAttribute("InitializeFromWebService")]
public class AccessControlListDetails : AccessControlList
[ClassVisibilityAttribute(ClientVisibility::Internal)]
[CallOnDeserializationAttribute(L"InitializeFromWebService")]
public ref class AccessControlListDetails : public AccessControlList
[<ClassVisibilityAttribute(ClientVisibility.Internal)>]
[<CallOnDeserializationAttribute("InitializeFromWebService")>]
type AccessControlListDetails =  
    class 
        inherit AccessControlList 
    end
public class AccessControlListDetails extends AccessControlList

The AccessControlListDetails type exposes the following members.

Constructors

  Name Description
Public method AccessControlListDetails Default constructor for ASP.NET Deserialization. It is very important that we pass null and false in for the default values because that is what they will come up as from the client if they are not set.

Top

Properties

  Name Description
Public property AccessControlEntries Returns a copy of the list of permissions for users of this token. (Inherited from AccessControlList.)
Public property Entries The permissions set on within this access control list.
Public property IncludeExtendedInfo True if this ACL holds ACEs that have extended information.
Public property InheritPermissions True if the given token inherits permissions from parents. (Inherited from AccessControlList.)
Public property Token The token that this AccessControlList is for. (Inherited from AccessControlList.)

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 QueryAccessControlEntries Returns the AccessControlEntries for the descriptors provided. (Inherited from AccessControlList.)
Public method QueryAccessControlEntry Returns the AccessControlEntry for the descriptor provided. If no AccessControlEntry exists for the provided descriptor in this AccessControlList then an empty AccessControlEntry will be returned. (Inherited from AccessControlList.)
Public method RemoveAccessControlEntry Removes the AccessControlEntry from this AccessControlList that applies to the given descriptor. (Inherited from AccessControlList.)
Public method RemovePermissions Removes the specified permission bits from the existing allows and denys for this descriptor. If the descriptor is not found, nothing is done and an empty AccessControlEntry is returned. (Inherited from AccessControlList.)
Public method SetAccessControlEntries Sets the provided AccessControlEntry in this AccessControlList. (Inherited from AccessControlList.)
Public method SetAccessControlEntry Sets the provided AccessControlEntry in this AccessControlList. (Inherited from AccessControlList.)
Public method SetPermissions Sets a permission for the descriptor on this AccessControlList. (Inherited from AccessControlList.)
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.Server Namespace