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
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.Int32
Return Value
Type: System.Int32
Implements
.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.