Partager via


IContainerSecurityExtension Interface

Interface for security plugin of the TeamFoundationFileContainerService. Any artifact that wants to have file containers must implement this interface to provide security checks and Uri validation.

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

Syntax

'Declaration
<InheritedExportAttribute> _
Public Interface IContainerSecurityExtension
[InheritedExportAttribute]
public interface IContainerSecurityExtension
[InheritedExportAttribute]
public interface class IContainerSecurityExtension
[<InheritedExportAttribute>]
type IContainerSecurityExtension =  interface end
public interface IContainerSecurityExtension

The IContainerSecurityExtension type exposes the following members.

Methods

  Name Description
Public method CanEvaluate Checks if the security extension can be used to check permissions for the artifact.
Public method HasReadPermission Checks if the user has read permission on the token.
Public method HasWritePermission Checks if the user has write permission on the token.

Top

See Also

Reference

Microsoft.TeamFoundation.Framework.Server Namespace