AuthorizationProvider.EnsurePermitted Method
Namespace: Microsoft.TeamFoundation.Integration.Server
Assembly: Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)
Syntax
'Declaration
Public Sub EnsurePermitted ( _
requestContext As TeamFoundationRequestContext, _
objectId As String, _
actionId As String _
)
public void EnsurePermitted(
TeamFoundationRequestContext requestContext,
string objectId,
string actionId
)
public:
void EnsurePermitted(
TeamFoundationRequestContext^ requestContext,
String^ objectId,
String^ actionId
)
member EnsurePermitted :
requestContext:TeamFoundationRequestContext *
objectId:string *
actionId:string -> unit
public function EnsurePermitted(
requestContext : TeamFoundationRequestContext,
objectId : String,
actionId : String
)
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- objectId
Type: System.String
- actionId
Type: System.String
.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.