共用方式為


ITfsIdentityStore.FindByAccountName Method

Finds the TeamFoundationIdentity associated with the unique account name.

Namespace:  Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)

Syntax

'Declaration
Function FindByAccountName ( _
    accountName As String _
) As TeamFoundationIdentity
TeamFoundationIdentity FindByAccountName(
    string accountName
)
TeamFoundationIdentity^ FindByAccountName(
    String^ accountName
)
abstract FindByAccountName : 
        accountName:string -> TeamFoundationIdentity
function FindByAccountName(
    accountName : String
) : TeamFoundationIdentity

Parameters

  • accountName
    Type: String

    The account name of the user or group.

Return Value

Type: Microsoft.TeamFoundation.Framework.Client.TeamFoundationIdentity
Returns an instance to a TeamFoundationIdentity.

.NET Framework Security

See Also

Reference

ITfsIdentityStore Interface

Microsoft.TeamFoundation.TestManagement.Client Namespace