다음을 통해 공유


DefaultSecurityNamespaceExtension.QueryEffectivePermissions Method

Returns the permissions passed in.

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

Syntax

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

Parameters

  • token
    Type: System.String

    The token the query is being made on.

Return Value

Type: System.Int32

Implements

ISecurityNamespaceExtension.QueryEffectivePermissions(TeamFoundationRequestContext, String, IdentityDescriptor, Int32)

.NET Framework Security

See Also

Reference

DefaultSecurityNamespaceExtension Class

Microsoft.TeamFoundation.Framework.Server Namespace