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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- token
Type: System.String
- descriptors
Type: System.Collections.Generic.IEnumerable<IdentityDescriptor>
- includeExtendedInfo
Type: System.Boolean
- recurse
Type: System.Boolean
- preliminaryACLs
Type: System.Collections.Generic.IEnumerable<AccessControlList>
Return Value
Type: System.Collections.Generic.IEnumerable<AccessControlList>
Implements
.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.