AccessControlWebService.QueryServiceIdentities Method
Queries the service identities by the given names
Namespace: Microsoft.TeamFoundation.Server.Core.WebServices
Assembly: Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)
Syntax
'Declaration
<WebMethodAttribute> _
Public Function QueryServiceIdentities ( _
serviceIdentityNames As String(), _
includeMemberships As Boolean _
) As ServiceIdentity2012()
[WebMethodAttribute]
public ServiceIdentity2012[] QueryServiceIdentities(
string[] serviceIdentityNames,
bool includeMemberships
)
[WebMethodAttribute]
public:
array<ServiceIdentity2012^>^ QueryServiceIdentities(
array<String^>^ serviceIdentityNames,
bool includeMemberships
)
[<WebMethodAttribute>]
member QueryServiceIdentities :
serviceIdentityNames:string[] *
includeMemberships:bool -> ServiceIdentity2012[]
public function QueryServiceIdentities(
serviceIdentityNames : String[],
includeMemberships : boolean
) : ServiceIdentity2012[]
Parameters
serviceIdentityNames
Type: array<System.String[]The names of the identities to query
includeMemberships
Type: System.BooleanWhether or not to include membership information
Return Value
Type: array<Microsoft.TeamFoundation.Server.Core.WebServices.ServiceIdentity2012[]
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.