TeamFoundationSecurityNamespace.QueryAccessControlList 方法

在所有情况下:将查询该标记的访问控制列表 (acl) 指定的此方法。 将返回有关提供或所有描述符的类型描述符的 AccessControlEntry 信息,如果将 null 用作描述符参数中提供。

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

语法

声明
Public Overridable Function QueryAccessControlList ( _
    requestContext As TeamFoundationRequestContext, _
    token As String, _
    descriptors As IEnumerable(Of IdentityDescriptor), _
    includeExtendedInfo As Boolean _
) As AccessControlList
public virtual AccessControlList QueryAccessControlList(
    TeamFoundationRequestContext requestContext,
    string token,
    IEnumerable<IdentityDescriptor> descriptors,
    bool includeExtendedInfo
)

参数

  • token
    类型:System.String
    访问控制列表 (acl) 的标记可以查询权限。
  • includeExtendedInfo
    类型:System.Boolean
    如果 includeExtendedInfo 是错误的:所有返回的 AccessControlEntry 对象的 ExtendedInfo 属性将为空。如果 includeExtendedInfo 为 true:所有返回的 AccessControlEntry 对象的 ExtendedInfo 属性将包含一个有效的 AceExtendedInformation 对象的引用。如果描述符参数为 null,此函数将返回其显式或继承的权限的任何描述符的 AccessControlEntries。

返回值

类型:Microsoft.TeamFoundation.Framework.Server.AccessControlList
AccessControlLists 对于传递的信息。

.NET Framework 安全性

请参阅

参考

TeamFoundationSecurityNamespace 类

Microsoft.TeamFoundation.Framework.Server 命名空间