Partager via


DefaultSecurityNamespaceExtension.QueryPermissions Method

The defualt implementation of QueryPermissions which simply returns the prliminaryACLs.

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

Syntax

'Declaration
Public Overridable Function QueryPermissions ( _
    requestContext As TeamFoundationRequestContext, _
    token As String, _
    descriptors As IEnumerable(Of IdentityDescriptor), _
    includeExtendedInfo As Boolean, _
    recurse As Boolean, _
    preliminaryACLs As IEnumerable(Of AccessControlList) _
) As IEnumerable(Of AccessControlList)
public virtual IEnumerable<AccessControlList> QueryPermissions(
    TeamFoundationRequestContext requestContext,
    string token,
    IEnumerable<IdentityDescriptor> descriptors,
    bool includeExtendedInfo,
    bool recurse,
    IEnumerable<AccessControlList> preliminaryACLs
)
public:
virtual IEnumerable<AccessControlList^>^ QueryPermissions(
    TeamFoundationRequestContext^ requestContext, 
    String^ token, 
    IEnumerable<IdentityDescriptor^>^ descriptors, 
    bool includeExtendedInfo, 
    bool recurse, 
    IEnumerable<AccessControlList^>^ preliminaryACLs
)
abstract QueryPermissions : 
        requestContext:TeamFoundationRequestContext * 
        token:string * 
        descriptors:IEnumerable<IdentityDescriptor> * 
        includeExtendedInfo:bool * 
        recurse:bool * 
        preliminaryACLs:IEnumerable<AccessControlList> -> IEnumerable<AccessControlList> 
override QueryPermissions : 
        requestContext:TeamFoundationRequestContext * 
        token:string * 
        descriptors:IEnumerable<IdentityDescriptor> * 
        includeExtendedInfo:bool * 
        recurse:bool * 
        preliminaryACLs:IEnumerable<AccessControlList> -> IEnumerable<AccessControlList> 
public function QueryPermissions(
    requestContext : TeamFoundationRequestContext, 
    token : String, 
    descriptors : IEnumerable<IdentityDescriptor>, 
    includeExtendedInfo : boolean, 
    recurse : boolean, 
    preliminaryACLs : IEnumerable<AccessControlList>
) : IEnumerable<AccessControlList>

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<AccessControlList>

Implements

ISecurityNamespaceExtension.QueryPermissions(TeamFoundationRequestContext, String, IEnumerable<IdentityDescriptor>, Boolean, Boolean, IEnumerable<AccessControlList>)

.NET Framework Security

See Also

Reference

DefaultSecurityNamespaceExtension Class

Microsoft.TeamFoundation.Framework.Server Namespace