com.microsoft.tfs.core.clients.webservices
Class IdentitySearchFactor

java.lang.Object
  extended by com.microsoft.tfs.util.TypesafeEnum
      extended by com.microsoft.tfs.core.clients.webservices.IdentitySearchFactor
All Implemented Interfaces:
java.lang.Comparable

public class IdentitySearchFactor
extends com.microsoft.tfs.util.TypesafeEnum

Since:
TEE-SDK-11.0
Thread-safety:
immutable

Field Summary
static IdentitySearchFactor ACCOUNT_NAME
          NT account name (domain\alias)
static IdentitySearchFactor ADMINISTRATORS_GROUP
          Find project admin group
static IdentitySearchFactor DISPLAY_NAME
          Display name
static IdentitySearchFactor GENERAL
          A general search for an identity.
static IdentitySearchFactor IDENTIFIER
          Find the identity using the identifier
static IdentitySearchFactor MAIL_ADDRESS
          Email address
 
Constructor Summary
protected IdentitySearchFactor(int value)
           
 
Method Summary
 
Methods inherited from class com.microsoft.tfs.util.TypesafeEnum
compareTo, equals, getValue, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ACCOUNT_NAME

public static final IdentitySearchFactor ACCOUNT_NAME
NT account name (domain\alias)


DISPLAY_NAME

public static final IdentitySearchFactor DISPLAY_NAME
Display name


ADMINISTRATORS_GROUP

public static final IdentitySearchFactor ADMINISTRATORS_GROUP
Find project admin group


IDENTIFIER

public static final IdentitySearchFactor IDENTIFIER
Find the identity using the identifier


MAIL_ADDRESS

public static final IdentitySearchFactor MAIL_ADDRESS
Email address


GENERAL

public static final IdentitySearchFactor 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:

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 (e.g. "John Smith")

Constructor Detail

IdentitySearchFactor

protected IdentitySearchFactor(int value)


© 2015 Microsoft. All rights reserved.