This documentation is archived and is not being maintained.
ISecurityNamespaceExtension::QueryEffectivePermissions Method
Visual Studio 2012
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.
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
int QueryEffectivePermissions( TeamFoundationRequestContext^ requestContext, String^ token, IdentityDescriptor^ descriptor, int preliminaryEffectivePermissions )
Parameters
- requestContext
- Type: Microsoft.TeamFoundation.Framework.Server::TeamFoundationRequestContext
The request context for the current request which contains the user trying to perform the action.
- token
- Type: System::String
The token the query is being made on.
- descriptor
- Type: Microsoft.TeamFoundation.Framework.Server::IdentityDescriptor
The descriptor the query is being made on.
- preliminaryEffectivePermissions
- Type: System::Int32
The effective permissions that have already been computed.
- 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.
Show: