Delen via


DefaultSecurityNamespaceExtension.HasWritePermission Method

The default implementation of HasWritePermission, which checks to see whether the caller has WritePermission on the provided token.

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

Syntax

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

Parameters

Return Value

Type: System.Boolean
Returns Boolean.

Implements

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

.NET Framework Security

See Also

Reference

DefaultSecurityNamespaceExtension Class

Microsoft.TeamFoundation.Framework.Server Namespace