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