Evaluates whether the given user should be able to change permissions. Note that implementing this function will cause the WritePermission defined in the namespace not to be checked. If you want to implement this interface and still have those checked then make sure to derive from the DefaultSecurityNamespaceExtension and not override this method.
It is expected that this function will throw if the caller should not be able to write permissions
Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Sub CheckWritePermission ( _
    requestContext As TeamFoundationRequestContext, _
    token As String, _
    removedEntries As IEnumerable(Of AccessControlEntry), _
    addedEntries As IEnumerable(Of AccessControlEntry), _
    inheritanceChanging As Boolean, _
    recurse As Boolean _
)
void CheckWritePermission(
    TeamFoundationRequestContext requestContext,
    string token,
    IEnumerable<AccessControlEntry> removedEntries,
    IEnumerable<AccessControlEntry> addedEntries,
    bool inheritanceChanging,
    bool recurse
)
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
function CheckWritePermission(
    requestContext : TeamFoundationRequestContext, 
    token : String, 
    removedEntries : IEnumerable<AccessControlEntry>, 
    addedEntries : IEnumerable<AccessControlEntry>, 
    inheritanceChanging : boolean, 
    recurse : boolean
)
Parameters
- requestContext 
 Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext- The request context for the current request which contains the user trying to perform the action. 
- token 
 Type: System.String- The token the permissions are being applied on. 
- removedEntries 
 Type: System.Collections.Generic.IEnumerable<AccessControlEntry>- The entries that are being removed on this token. 
- addedEntries 
 Type: System.Collections.Generic.IEnumerable<AccessControlEntry>- The entries that are being set on this token. 
- inheritanceChanging 
 Type: System.Boolean- True if the inheritance value is changing. 
- recurse 
 Type: System.Boolean- True if this operation will recurse. Note, for a recurse operation, the only possible operation is RemoveAccessControlLists. 
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.