共用方式為


AuthorizationProvider.IsPermitted Method

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

Syntax

'宣告
Public Function IsPermitted ( _
    requestContext As TeamFoundationRequestContext, _
    objectId As String, _
    actionId As String, _
    userSid As String _
) As Boolean
public bool IsPermitted(
    TeamFoundationRequestContext requestContext,
    string objectId,
    string actionId,
    string userSid
)
public:
bool IsPermitted(
    TeamFoundationRequestContext^ requestContext, 
    String^ objectId, 
    String^ actionId, 
    String^ userSid
)
member IsPermitted : 
        requestContext:TeamFoundationRequestContext * 
        objectId:string * 
        actionId:string * 
        userSid:string -> bool 
public function IsPermitted(
    requestContext : TeamFoundationRequestContext, 
    objectId : String, 
    actionId : String, 
    userSid : String
) : boolean

Parameters

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

AuthorizationProvider Class

Microsoft.TeamFoundation.Server Namespace