PartialPermissionSetNamespaceExtension.HasPermission Method
This member overrides DefaultSecurityNamespaceExtension.HasPermission(TeamFoundationRequestContext, String, Int32, Int32, Int32, Boolean).
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Overrides Function HasPermission ( _
requestContext As TeamFoundationRequestContext, _
token As String, _
requestedPermissions As Integer, _
effectiveAllows As Integer, _
effectiveDenys As Integer, _
preliminaryDecision As Boolean _
) As Boolean
public override bool HasPermission(
TeamFoundationRequestContext requestContext,
string token,
int requestedPermissions,
int effectiveAllows,
int effectiveDenys,
bool preliminaryDecision
)
public:
virtual bool HasPermission(
TeamFoundationRequestContext^ requestContext,
String^ token,
int requestedPermissions,
int effectiveAllows,
int effectiveDenys,
bool preliminaryDecision
) override
abstract HasPermission :
requestContext:TeamFoundationRequestContext *
token:string *
requestedPermissions:int *
effectiveAllows:int *
effectiveDenys:int *
preliminaryDecision:bool -> bool
override HasPermission :
requestContext:TeamFoundationRequestContext *
token:string *
requestedPermissions:int *
effectiveAllows:int *
effectiveDenys:int *
preliminaryDecision:bool -> bool
public override function HasPermission(
requestContext : TeamFoundationRequestContext,
token : String,
requestedPermissions : int,
effectiveAllows : int,
effectiveDenys : int,
preliminaryDecision : boolean
) : boolean
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- token
Type: System.String
- requestedPermissions
Type: System.Int32
- effectiveAllows
Type: System.Int32
- effectiveDenys
Type: System.Int32
- preliminaryDecision
Type: System.Boolean
Return Value
Type: System.Boolean
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.