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 | |
---|---|---|
![]() |
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 | |
---|---|---|
![]() |
AccessControlEntries | Returns a copy of the list of permissions for users of this token. (Inherited from AccessControlList.) |
![]() |
Entries | The permissions set on within this access control list. |
![]() |
IncludeExtendedInfo | True if this ACL holds ACEs that have extended information. |
![]() |
InheritPermissions | True if the given token inherits permissions from parents. (Inherited from AccessControlList.) |
![]() |
Token | The token that this [AccessControlList] is for. (Inherited from AccessControlList.) |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
QueryAccessControlEntries | Returns the [AccessControlEntries] for the descriptors that are provided. (Inherited from AccessControlList.) |
![]() |
QueryAccessControlEntry | Returns the [AccessControlEntry] for the descriptor that's provided. If no [AccessControlEntry] exists for the provided descriptor in this [AccessControlList], an empty [AccessControlEntry] will be returned. (Inherited from AccessControlList.) |
![]() |
RemoveAccessControlEntry | Removes the [AccessControlEntry] from this [AccessControlList] that applies to the given descriptor. (Inherited from AccessControlList.) |
![]() |
RemovePermissions | Removes the specified permission bits from the existing [allows] and [denys] for this descriptor. If the descriptor is not found, nothing is performed and an empty [AccessControlEntry] is returned. (Inherited from AccessControlList.) |
![]() |
SetAccessControlEntries | Sets the provided [AccessControlEntry] in this [AccessControlList]. (Inherited from AccessControlList.) |
![]() |
SetAccessControlEntry | Sets the provided [AccessControlEntry] in this [AccessControlList]. (Inherited from AccessControlList.) |
![]() |
SetPermissions | Sets a permission for the descriptor on this [AccessControlList]. (Inherited from AccessControlList.) |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Fields
Name | Description | |
---|---|---|
![]() |
m_accessControlEntries | Storage of permissions keyed on the identity the permission is for. (Inherited from AccessControlList.) |
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.