共用方式為


TeamFoundationSecurityNamespace.QueryAccessControlList 方法

在所有情況下: 這個方法會查詢所指定的語彙基元的 AccessControlList。 它會傳回所提供的描述項或所有的描述項,如果是 null 的 AccessControlEntry 資訊提供給描述元參數。

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

語法

'宣告
Public Function QueryAccessControlList ( _
    requestContext As TeamFoundationRequestContext, _
    token As String, _
    descriptors As IEnumerable(Of IdentityDescriptor), _
    includeExtendedInfo As Boolean _
) As AccessControlList
public AccessControlList QueryAccessControlList(
    TeamFoundationRequestContext requestContext,
    string token,
    IEnumerable<IdentityDescriptor> descriptors,
    bool includeExtendedInfo
)

參數

  • token
    型別:System.String
    查詢的權限給 AccessControlList 之語彙基元。
  • includeExtendedInfo
    型別:System.Boolean
    如果 includeExtendedInfo 為 false,所有傳回的 AccessControlEntry 物件的 ExtendedInfo 屬性將會是 null。

傳回值

型別:Microsoft.TeamFoundation.Framework.Server.AccessControlList
傳入之資訊的 AccessControlLists。

.NET Framework 安全性

請參閱

參考

TeamFoundationSecurityNamespace 類別

Microsoft.TeamFoundation.Framework.Server 命名空間