Delen via


TeamFoundationSecurityNamespace.QueryEffectivePermissions Method

Returns the effective allowed permissions for the given descriptor.

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 _
) As Integer
public virtual int QueryEffectivePermissions(
    TeamFoundationRequestContext requestContext,
    string token,
    IdentityDescriptor descriptor
)
public:
virtual int QueryEffectivePermissions(
    TeamFoundationRequestContext^ requestContext, 
    String^ token, 
    IdentityDescriptor^ descriptor
)
abstract QueryEffectivePermissions : 
        requestContext:TeamFoundationRequestContext * 
        token:string * 
        descriptor:IdentityDescriptor -> int  
override QueryEffectivePermissions : 
        requestContext:TeamFoundationRequestContext * 
        token:string * 
        descriptor:IdentityDescriptor -> int
public function QueryEffectivePermissions(
    requestContext : TeamFoundationRequestContext, 
    token : String, 
    descriptor : IdentityDescriptor
) : int

Parameters

  • token
    Type: System.String

    The token for the AccessControlList we are querying permissions on.

Return Value

Type: System.Int32
The effective allowed permissions for the descriptor.

.NET Framework Security

See Also

Reference

TeamFoundationSecurityNamespace Class

Microsoft.TeamFoundation.Framework.Server Namespace