Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The default implementation of HasPermission, which just returns the preliminary decision.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Overridable Function HasPermission ( _
requestContext As TeamFoundationRequestContext, _
token As String, _
requestedPermissions As Integer, _
effectiveAllows As Integer, _
effectiveDenys As Integer, _
preliminaryDecision As Boolean _
) As Boolean
public virtual 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
)
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 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.