Export (0) Print
Expand All

ITfsIdentityStore Interface

Manages an identity cache which is loaded from disk and periodically refreshed from the identity management service.

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

public interface ITfsIdentityStore

The ITfsIdentityStore type exposes the following members.

  NameDescription
Public propertyAllGlobalAndProjectGroupIdentities Obsolete. Returns all TeamFoundationIdentities associated with global and project groups.
Public propertyAllUserIdentitiesGet all user identities cached locally.
Public propertyAllUserIdentityNamesGet all user identities cached locally.
Public propertyRecentUserNamesGet recently used users from TFS
Top

  NameDescription
Public methodAddDisplayNameAdds the given TeamFoundationId,DisplayName pair to cache
Public methodAddDisplayNamesAdds the given TeamFoundationId,DisplayName pair to cache
Public methodAddRecentUser(TeamFoundationIdentity)Add the given user to RecentUsers
Public methodAddRecentUser(Guid)Add the given user to RecentUsers
Public methodClose
Public methodEnsureIdentitiesByAccountNameEnsures the cache has the TeamFoundationIdentity objects for the given set of TeamFoundationIdentity identifiers.
Public methodEnsureIdentitiesByIdEnsures the cache has the TeamFoundationIdentity objects for the given set of TeamFoundationIdentity identifiers.
Public methodFindByAccountNameFinds the TeamFoundationIdentity associated with the unique account name.
Public methodFindByDisplayNameFinds the TeamFoundationIdentity associated with the unique display name.
Public methodFindByTeamFoundationIdFinds the TeamFoundationIdentity associated with the unique Team Foundation id
Public methodFindTeamFoundationIdByDisplayNameFinds the TeamFoundationIdentity associated with the unique display name.
Public methodGetDisplayNameGets the display name of user associated with the unique foundation id
Public methodInitialize
Public methodRefreshCauses a synchronous refresh of the identity cache.
Top
Show:
© 2014 Microsoft