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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context for the current request which contains the user trying to perform the action.
token
Type: System.StringThe token the query is being made on.
descriptor
Type: Microsoft.VisualStudio.Services.Identity.IdentityDescriptorThe descriptor the query is being made on.
preliminaryEffectivePermissions
Type: System.Int32The effective permissions that have already been computed.
Return Value
Type: System.Int32
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.