Export (0) Print
Expand All

AccessControlList Class

The AccessControlList class is meant to associate a set of AccessControlEntries with a security token and its inheritance settings. It is important to note that the AccessControlList class does not talk to a web service when its methods are called. It provides a staging area for changes to the AccessControlEntries for a secured token. Once changes are made to an AccessControlList it can be saved to the web service by passing it into a SecurityNamespace.

System.Object
  Microsoft.TeamFoundation.Framework.Client.AccessControlList

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

public class AccessControlList

The AccessControlList type exposes the following members.

  NameDescription
Protected methodAccessControlList()
Public methodAccessControlList(String, Boolean)Creates a new AccessControlList
Public methodAccessControlList(String, Boolean, IEnumerable<AccessControlEntry>)Builds an instance of an AccessControlList
Top

  NameDescription
Public propertyAccessControlEntriesThe list of AccessControlEntries that apply to this AccessControlList.
Protected propertyIncludeExtendedInfoForAces
Public propertyInheritPermissionsTrue if this AccessControlList inherits permissions from parents.
Public propertyTokenThe token that this AccessControlList is for.
Top

  NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodQueryAccessControlEntriesReturns the AccessControlEntries for the descriptors provided.
Public methodQueryAccessControlEntryReturns the AccessControlEntry for the descriptor provided. If no AccessControlEntry exists for the provided descriptor in this AccessControlList then an empty AccessControlEntry will be returned.
Public methodRemoveAccessControlEntryRemoves the AccessControlEntry from this AccessControlList that applies to the given descriptor.
Public methodRemovePermissionsRemoves 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.
Public methodSetAccessControlEntriesSets the provided AccessControlEntry in this AccessControlList.
Public methodSetAccessControlEntrySets the provided AccessControlEntry in this AccessControlList.
Public methodSetPermissionsSets a permission for the descriptor on this AccessControlList.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft