Partager via


AuthorizationProvider.IsPermitted Method

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

Syntax

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

Parameters

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

AuthorizationProvider Class

Microsoft.TeamFoundation.Integration.Server Namespace