次の方法で共有


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.String

    The service identity name.

  • includeMemberships
    Type: System.Boolean

    Whether or not to include membership details.

Return Value

Type: Microsoft.TeamFoundation.Framework.Client.ServiceIdentity
The service identities>

.NET Framework Security

See Also

Reference

IAccessControlService Interface

QueryServiceIdentity Overload

Microsoft.TeamFoundation.Framework.Client Namespace