IdentitySearchFactor Enumeration
Collapse the table of content
Expand the table of content

IdentitySearchFactor Enumeration

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

public enum IdentitySearchFactor

Member nameDescription
AccountNameWindows NT account name: domain\alias.

AdministratorsGroupFind project administrator's group.

AliasAlternate login username

DisplayNameDisplay name.

GeneralA general search for an identity.

This is the default search factor for shorter overloads of ReadIdentity, and typically the correct choice for user input.

Use the general search factor to find one or more identities 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 indicate a single identity when two or more identities share the same display name, such as "John Smith."

IdentifierFind the identity using the identifier.

MailAddressEmail address.

© 2016 Microsoft