Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Read 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.WebServices
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)
Syntax
'Declaration
<WebMethodAttribute> _
Public Function ReadIdentities ( _
    searchFactor As Integer, _
    factorValues As String(), _
    queryMembership As Integer, _
    options As Integer, _
    features As Integer, _
    propertyNameFilters As String(), _
    propertyScope As Integer _
) As TeamFoundationIdentity()()
[WebMethodAttribute]
public TeamFoundationIdentity[][] ReadIdentities(
    int searchFactor,
    string[] factorValues,
    int queryMembership,
    int options,
    int features,
    string[] propertyNameFilters,
    int propertyScope
)
[WebMethodAttribute]
public:
array<array<TeamFoundationIdentity^>^>^ ReadIdentities(
    int searchFactor, 
    array<String^>^ factorValues, 
    int queryMembership, 
    int options, 
    int features, 
    array<String^>^ propertyNameFilters, 
    int propertyScope
)
[<WebMethodAttribute>]
member ReadIdentities : 
        searchFactor:int * 
        factorValues:string[] * 
        queryMembership:int * 
        options:int * 
        features:int * 
        propertyNameFilters:string[] * 
        propertyScope:int -> TeamFoundationIdentity[][] 
public function ReadIdentities(
    searchFactor : int, 
    factorValues : String[], 
    queryMembership : int, 
    options : int, 
    features : int, 
    propertyNameFilters : String[], 
    propertyScope : int
) : TeamFoundationIdentity[][]
Parameters
- searchFactor 
 Type: System.Int32- how identities are specified 
- factorValues 
 Type: array<System.String[]- factorValues (account name, etc.) 
- queryMembership 
 Type: System.Int32- none, direct or expanded membership information 
- options 
 Type: System.Int32- options 
- features
 Type: System.Int32
- propertyNameFilters
 Type: array<System.String[]
- propertyScope
 Type: System.Int32
Return Value
Type: array<array<Microsoft.TeamFoundation.Server.Core.TeamFoundationIdentity[][]
Array of identities.
.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.