Freigeben über


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)

Syntax

'Declaration
Public Property AccessControlList As AccessControlList
public AccessControlList AccessControlList { get; internal set; }
public:
property AccessControlList^ AccessControlList {
    AccessControlList^ get ();
    internal: void set (AccessControlList^ value);
}
member AccessControlList : AccessControlList with get, internal set
function get AccessControlList () : AccessControlList 
internal function set AccessControlList (value : AccessControlList)

Property Value

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

Remarks

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.

.NET Framework Security

See Also

Reference

QueryItem Class

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace