This documentation is archived and is not being maintained.

IIdentityManagementService2::ReadIdentity Method (String)

Read an identity using the General search factor.

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

TeamFoundationIdentity^ ReadIdentity(
	String^ generalSearchValue
)

Parameters

generalSearchValue
Type: System::String

The search string.

Equivalent to ReadIdentity, generalSearchValue, MembershipQuery.None, ReadIdentityOptions.None.

You can use this to find an identity by one of the following properties: * Display name * account name * UniqueName. UniqueName may be easier to type than display name. It can also be used to find a single identity when two or more identities share the same display name, such as, "John Smith."

Show: