This documentation is archived and is not being maintained.

QueryItem::AccessControlList Property

Gets the access control list for the query item.

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

public:
property AccessControlList^ AccessControlList {
	AccessControlList^ get ();
	internal: void set (AccessControlList^ value);
}

Property Value

Type: Microsoft.TeamFoundation.Framework.Client::AccessControlList
The access control list of the query item.

For a new query item, or an existing item that has been removed from the project hierarchy, this property will contain a default access control list that inherits all permissions from its parent. However these default permissions may not be populated in the extended permission data.

For existing query items that have not been removed from the hierarchy, the permissions are currently obtained from the server on-demand when this property is accessed, and are then cached until the next save.

This property should always be non-null, unless an exception occurs when obtaining data from the server.

Show: