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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- token
Type: System.String
- removedEntries
Type: System.Collections.Generic.IEnumerable<AccessControlEntry>
- addedEntries
Type: System.Collections.Generic.IEnumerable<AccessControlEntry>
- inheritanceChanging
Type: System.Boolean
- recurse
Type: System.Boolean
Implements
.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.