DefaultSecurityNamespaceExtension.HasPermission 方法

[HasPermission]的默认实现,返回初步的决策。

命名空间:  Microsoft.TeamFoundation.Framework.Server
程序集:  Microsoft.TeamFoundation.Framework.Server(在 Microsoft.TeamFoundation.Framework.Server.dll 中)

语法

声明
Public Overridable Function HasPermission ( _
    requestContext As TeamFoundationRequestContext, _
    token As String, _
    requestedPermissions As Integer, _
    effectiveAllows As Integer, _
    effectiveDenys As Integer, _
    preliminaryDecision As Boolean _
) As Boolean
public virtual bool HasPermission(
    TeamFoundationRequestContext requestContext,
    string token,
    int requestedPermissions,
    int effectiveAllows,
    int effectiveDenys,
    bool preliminaryDecision
)

参数

返回值

类型:System.Boolean

实现

ISecurityNamespaceExtension.HasPermission(TeamFoundationRequestContext, String, Int32, Int32, Int32, Boolean)

.NET Framework 安全性

请参见

参考

DefaultSecurityNamespaceExtension 类

Microsoft.TeamFoundation.Framework.Server 命名空间