Share via


IdentitySearchFactor Enumeration

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

Syntax

'Declaration
Public Enumeration IdentitySearchFactor
public enum IdentitySearchFactor
public enum class IdentitySearchFactor
type IdentitySearchFactor
public enum IdentitySearchFactor

Members

Member name Description
AccountName Windows NT account name: domain\alias.

AdministratorsGroup Find project administrator's group.

Alias Alternate login username

DisplayName Display name.

General A 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."

Identifier Find the identity using the identifier.

MailAddress Email address.

See Also

Reference

Microsoft.TeamFoundation.Framework.Common Namespace