TeamFoundationIdentityService.ReadIdentities 方法 (TeamFoundationRequestContext, array<Guid[], MembershipQuery, ReadIdentityOptions, IEnumerable<String>, IdentityPropertyScope)
讀取由識別Team Foundation識別碼。
請注意-無成員資格資訊要求時,會執行最快。
命名空間: Microsoft.TeamFoundation.Framework.Server
組件: Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)
語法
'宣告
Public Function ReadIdentities ( _
requestContext As TeamFoundationRequestContext, _
teamFoundationIds As Guid(), _
queryMembership As MembershipQuery, _
readOptions As ReadIdentityOptions, _
propertyNameFilters As IEnumerable(Of String), _
propertyScope As IdentityPropertyScope _
) As TeamFoundationIdentity()
public TeamFoundationIdentity[] ReadIdentities(
TeamFoundationRequestContext requestContext,
Guid[] teamFoundationIds,
MembershipQuery queryMembership,
ReadIdentityOptions readOptions,
IEnumerable<string> propertyNameFilters,
IdentityPropertyScope propertyScope
)
參數
- requestContext
型別:Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- teamFoundationIds
型別:array<System.Guid[]
識別碼
- queryMembership
型別:Microsoft.TeamFoundation.Framework.Common.MembershipQuery
無、 直接或已展開的成員資格資訊。
- readOptions
型別:Microsoft.TeamFoundation.Framework.Common.ReadIdentityOptions
readOptions
- propertyNameFilters
型別:System.Collections.Generic.IEnumerable<String>
僅時需要讀取選項包含擴充的屬性資訊,請參閱 Prpoperty 服務 API。可為 null 否則。
- propertyScope
型別:Microsoft.TeamFoundation.Framework.Common.IdentityPropertyScope
傳回值
型別:array<Microsoft.TeamFoundation.Framework.Server.TeamFoundationIdentity[]
識別來說,對應 1 對 1 與輸入陣列的陣列。
實作
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。