Partager via


DefaultSecurityNamespaceExtension.CheckWritePermission Method

The default implementation of CheckWritePermission, which calls HasWritePermission on the provided token.

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

Syntax

'Declaration
Public Overridable Sub CheckWritePermission ( _
    requestContext As TeamFoundationRequestContext, _
    token As String, _
    removedEntries As IEnumerable(Of AccessControlEntry), _
    addedEntries As IEnumerable(Of AccessControlEntry), _
    inheritanceChanging As Boolean, _
    recurse As Boolean _
)
public virtual void CheckWritePermission(
    TeamFoundationRequestContext requestContext,
    string token,
    IEnumerable<AccessControlEntry> removedEntries,
    IEnumerable<AccessControlEntry> addedEntries,
    bool inheritanceChanging,
    bool recurse
)
public:
virtual void CheckWritePermission(
    TeamFoundationRequestContext^ requestContext, 
    String^ token, 
    IEnumerable<AccessControlEntry^>^ removedEntries, 
    IEnumerable<AccessControlEntry^>^ addedEntries, 
    bool inheritanceChanging, 
    bool recurse
)
abstract CheckWritePermission : 
        requestContext:TeamFoundationRequestContext * 
        token:string * 
        removedEntries:IEnumerable<AccessControlEntry> * 
        addedEntries:IEnumerable<AccessControlEntry> * 
        inheritanceChanging:bool * 
        recurse:bool -> unit  
override CheckWritePermission : 
        requestContext:TeamFoundationRequestContext * 
        token:string * 
        removedEntries:IEnumerable<AccessControlEntry> * 
        addedEntries:IEnumerable<AccessControlEntry> * 
        inheritanceChanging:bool * 
        recurse:bool -> unit
public function CheckWritePermission(
    requestContext : TeamFoundationRequestContext, 
    token : String, 
    removedEntries : IEnumerable<AccessControlEntry>, 
    addedEntries : IEnumerable<AccessControlEntry>, 
    inheritanceChanging : boolean, 
    recurse : boolean
)

Parameters

Implements

ISecurityNamespaceExtension.CheckWritePermission(TeamFoundationRequestContext, String, IEnumerable<AccessControlEntry>, IEnumerable<AccessControlEntry>, Boolean, Boolean)

.NET Framework Security

See Also

Reference

DefaultSecurityNamespaceExtension Class

Microsoft.TeamFoundation.Framework.Server Namespace