ITeamFoundationIdentityService.ReadIdentities Method (TeamFoundationRequestContext, IdentitySearchFactor, array<String , MembershipQuery, ReadIdentityOptions, IEnumerable<String>)
Reads identities. First try IMS store, then optionally source like AD. The actual source will be indicated by a property of the identity object itself.
Namespace: Microsoft.TeamFoundation.Server.Core
Assembly: Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)
Syntax
'Declaration
Function ReadIdentities ( _
requestContext As TeamFoundationRequestContext, _
searchFactor As IdentitySearchFactor, _
factorValues As String(), _
queryMembership As MembershipQuery, _
readOptions As ReadIdentityOptions, _
propertyNameFilters As IEnumerable(Of String) _
) As TeamFoundationIdentity()()
TeamFoundationIdentity[][] ReadIdentities(
TeamFoundationRequestContext requestContext,
IdentitySearchFactor searchFactor,
string[] factorValues,
MembershipQuery queryMembership,
ReadIdentityOptions readOptions,
IEnumerable<string> propertyNameFilters
)
array<array<TeamFoundationIdentity^>^>^ ReadIdentities(
TeamFoundationRequestContext^ requestContext,
IdentitySearchFactor searchFactor,
array<String^>^ factorValues,
MembershipQuery queryMembership,
ReadIdentityOptions readOptions,
IEnumerable<String^>^ propertyNameFilters
)
abstract ReadIdentities :
requestContext:TeamFoundationRequestContext *
searchFactor:IdentitySearchFactor *
factorValues:string[] *
queryMembership:MembershipQuery *
readOptions:ReadIdentityOptions *
propertyNameFilters:IEnumerable<string> -> TeamFoundationIdentity[][]
function ReadIdentities(
requestContext : TeamFoundationRequestContext,
searchFactor : IdentitySearchFactor,
factorValues : String[],
queryMembership : MembershipQuery,
readOptions : ReadIdentityOptions,
propertyNameFilters : IEnumerable<String>
) : TeamFoundationIdentity[][]
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextHow identities are specified.
searchFactor
Type: Microsoft.TeamFoundation.Framework.Common.IdentitySearchFactorThe factorValues (by account name, etc.)
factorValues
Type: array<System.String[]None, direct or expanded membership information.
queryMembership
Type: Microsoft.TeamFoundation.Framework.Common.MembershipQueryThe read options.
readOptions
Type: Microsoft.TeamFoundation.Framework.Common.ReadIdentityOptionsOnly required when read options includes extended properties, refer Prpoperty Service API. Can be null otherwise.
- propertyNameFilters
Type: System.Collections.Generic.IEnumerable<String>
Return Value
Type: array<array<Microsoft.TeamFoundation.Server.Core.TeamFoundationIdentity[][]
Arrays of identities. Each inner array matches corresponding search value.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.