ISecurityNamespaceExtension.QueryEffectivePermissions Method

Called every time that 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

  • 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