共用方式為


DefaultSecurityNamespaceExtension.HasWritePermission 方法

[HasWritePermission]的預設實作,會檢查呼叫端是否具有在提供的語彙基元 [SecurityNamespace.Description.WritePermission] 。

命名空間:  Microsoft.TeamFoundation.Framework.Server
組件:  Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)

語法

'宣告
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
)

參數

傳回值

型別:System.Boolean
傳回 Boolean

實作

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

.NET Framework 安全性

請參閱

參考

DefaultSecurityNamespaceExtension 類別

Microsoft.TeamFoundation.Framework.Server 命名空間