Share via


AccessControlList.QueryAccessControlEntry Method

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.

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

Syntax

'Declaration
Public Function QueryAccessControlEntry ( _
    descriptor As IdentityDescriptor _
) As AccessControlEntry
public AccessControlEntry QueryAccessControlEntry(
    IdentityDescriptor descriptor
)
public:
AccessControlEntry^ QueryAccessControlEntry(
    IdentityDescriptor^ descriptor
)
member QueryAccessControlEntry : 
        descriptor:IdentityDescriptor -> AccessControlEntry
public function QueryAccessControlEntry(
    descriptor : IdentityDescriptor
) : AccessControlEntry

Parameters

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.AccessControlEntry
The [AccessControlEntry] for the descriptor provided. If no [AccessControlEntry] exists for the provided descriptor in this [AccessControlList] then an empty [AccessControlEntry] will be returned.

.NET Framework Security

See Also

Reference

AccessControlList Class

Microsoft.TeamFoundation.Framework.Server Namespace