共用方式為


DefaultSecurityNamespaceExtension.HasReadPermission 方法

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

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

語法

'宣告
Public Overridable Function HasReadPermission ( _
    requestContext As TeamFoundationRequestContext, _
    token As String, _
    accessControlEntries As IEnumerable(Of AccessControlEntry) _
) As Boolean
public virtual bool HasReadPermission(
    TeamFoundationRequestContext requestContext,
    string token,
    IEnumerable<AccessControlEntry> accessControlEntries
)

參數

傳回值

型別:System.Boolean

實作

ISecurityNamespaceExtension.HasReadPermission(TeamFoundationRequestContext, String, IEnumerable<AccessControlEntry>)

.NET Framework 安全性

請參閱

參考

DefaultSecurityNamespaceExtension 類別

Microsoft.TeamFoundation.Framework.Server 命名空間