共用方式為


AuthorizationProvider.EnsurePermitted Method

Namespace:  Microsoft.TeamFoundation.Server
Assembly:  Microsoft.TeamFoundation.Server (in Microsoft.TeamFoundation.Server.dll)

Syntax

'宣告
Public Sub EnsurePermitted ( _
    requestContext As TeamFoundationRequestContext, _
    objectId As String, _
    actionId As String, _
    userSid As String _
)
public void EnsurePermitted(
    TeamFoundationRequestContext requestContext,
    string objectId,
    string actionId,
    string userSid
)
public:
void EnsurePermitted(
    TeamFoundationRequestContext^ requestContext, 
    String^ objectId, 
    String^ actionId, 
    String^ userSid
)
member EnsurePermitted : 
        requestContext:TeamFoundationRequestContext * 
        objectId:string * 
        actionId:string * 
        userSid:string -> unit 
public function EnsurePermitted(
    requestContext : TeamFoundationRequestContext, 
    objectId : String, 
    actionId : String, 
    userSid : String
)

Parameters

.NET Framework Security

See Also

Reference

AuthorizationProvider Class

Microsoft.TeamFoundation.Server Namespace