This documentation is archived and is not being maintained.
IIdentityManagementService2::ReadIdentity Method (String)
Visual Studio 2013
Read an identity using the General search factor.
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Parameters
- generalSearchValue
- Type: System::String
The search string.
Return Value
Type: Microsoft.TeamFoundation.Framework.Client::TeamFoundationIdentityReturns TeamFoundationIdentity.
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."
- 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.
Show: