AccessControlList.QueryAccessControlEntry Method
Returns the AccessControlEntry for the descriptor provided. If no AccessControlEntry exists for the provided descriptor in this AccessControlList then 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
descriptor
Type: Microsoft.VisualStudio.Services.Identity.IdentityDescriptorThe descriptor to query the AccessControlEntry for. This cannot be null.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.