Freigeben über


ISecurityNamespaceExtension.QueryEffectivePermissions Method

Called each time the security namespace is about to return effective permissions to either the server API or the web service. This allows the implementor to modify the final result.

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

Syntax

'Declaration
Function QueryEffectivePermissions ( _
    requestContext As TeamFoundationRequestContext, _
    token As String, _
    descriptor As IdentityDescriptor, _
    preliminaryEffectivePermissions As Integer _
) As Integer
int QueryEffectivePermissions(
    TeamFoundationRequestContext requestContext,
    string token,
    IdentityDescriptor descriptor,
    int preliminaryEffectivePermissions
)
int QueryEffectivePermissions(
    TeamFoundationRequestContext^ requestContext, 
    String^ token, 
    IdentityDescriptor^ descriptor, 
    int preliminaryEffectivePermissions
)
abstract QueryEffectivePermissions : 
        requestContext:TeamFoundationRequestContext * 
        token:string * 
        descriptor:IdentityDescriptor * 
        preliminaryEffectivePermissions:int -> int
function QueryEffectivePermissions(
    requestContext : TeamFoundationRequestContext, 
    token : String, 
    descriptor : IdentityDescriptor, 
    preliminaryEffectivePermissions : int
) : int

Parameters

  • token
    Type: System.String

    The token the query is being made on.

  • preliminaryEffectivePermissions
    Type: System.Int32

    The effective permissions that have already been computed.

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

ISecurityNamespaceExtension Interface

Microsoft.TeamFoundation.Framework.Server Namespace