Queries service identities by name
Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function QueryServiceIdentities ( _
    requestContext As TeamFoundationRequestContext, _
    serviceIdentityNames As String(), _
    includeMemberships As Boolean _
) As ServiceIdentity()
public ServiceIdentity[] QueryServiceIdentities(
    TeamFoundationRequestContext requestContext,
    string[] serviceIdentityNames,
    bool includeMemberships
)
public:
array<ServiceIdentity^>^ QueryServiceIdentities(
    TeamFoundationRequestContext^ requestContext, 
    array<String^>^ serviceIdentityNames, 
    bool includeMemberships
)
member QueryServiceIdentities : 
        requestContext:TeamFoundationRequestContext * 
        serviceIdentityNames:string[] * 
        includeMemberships:bool -> ServiceIdentity[] 
public function QueryServiceIdentities(
    requestContext : TeamFoundationRequestContext, 
    serviceIdentityNames : String[], 
    includeMemberships : boolean
) : ServiceIdentity[]
Parameters
- requestContext 
 Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext- The request context 
- serviceIdentityNames 
 Type: array<System.String[]- The service identity names to query 
- includeMemberships 
 Type: System.Boolean- Whether or not to include membership information 
Return Value
Type: array<Microsoft.TeamFoundation.Framework.Server.ServiceIdentity[]
The service 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.
See Also
Reference
TeamFoundationAccessControlService Class