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: StringThe account name of the user or group.
Return Value
Type: Microsoft.TeamFoundation.Framework.Client.TeamFoundationIdentity
Returns an instance to a TeamFoundationIdentity.
.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.