共用方式為


IdentityService.ListGroups 方法

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

語法

'宣告
Public MustOverride Function ListGroups ( _
    requestContext As TeamFoundationRequestContext, _
    scopeIds As Guid(), _
    recurse As Boolean, _
    propertyNameFilters As IEnumerable(Of String) _
) As IList(Of Identity)
public abstract IList<Identity> ListGroups(
    TeamFoundationRequestContext requestContext,
    Guid[] scopeIds,
    bool recurse,
    IEnumerable<string> propertyNameFilters
)

參數

  • scopeIds
    類型:array<System.Guid[]
    列出群組的一些 scopeIds 從。可以是 null。
  • recurse
    類型:System.Boolean
    從遞迴地放置在指定的 scopeIds 範圍的包含群組 (子範圍)。

傳回值

類型:System.Collections.Generic.IList<Identity>

.NET Framework 安全性

請參閱

參考

IdentityService 類別

Microsoft.VisualStudio.Services.Identity 命名空間