IAccessControlService.QueryServiceIdentity Method (Guid, Boolean)
Queries the service identity with the given ID.
Optionally includes membership details.
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Function QueryServiceIdentity ( _
serviceIdentityId As Guid, _
includeMemberships As Boolean _
) As ServiceIdentity
ServiceIdentity QueryServiceIdentity(
Guid serviceIdentityId,
bool includeMemberships
)
ServiceIdentity^ QueryServiceIdentity(
Guid serviceIdentityId,
bool includeMemberships
)
abstract QueryServiceIdentity :
serviceIdentityId:Guid *
includeMemberships:bool -> ServiceIdentity
function QueryServiceIdentity(
serviceIdentityId : Guid,
includeMemberships : boolean
) : ServiceIdentity
Parameters
serviceIdentityId
Type: System.GuidThe Team Foundation ID of the service identity.
includeMemberships
Type: System.BooleanWhether or not to include membership details.
Return Value
Type: Microsoft.TeamFoundation.Framework.Client.ServiceIdentity
The service identity.
.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.