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 Function QueryEffectivePermissions ( _
    requestContext As TeamFoundationRequestContext, _
    token As String, _
    descriptor As IdentityDescriptor _
) As Integer
public int QueryEffectivePermissions(
    TeamFoundationRequestContext requestContext,
    string token,
    IdentityDescriptor descriptor
)
public:
int QueryEffectivePermissions(
    TeamFoundationRequestContext^ requestContext, 
    String^ token, 
    IdentityDescriptor^ descriptor
)
member 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