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)

Syntax

public interface ITfsIdentityStore
public interface class ITfsIdentityStore
type ITfsIdentityStore = interface end
Public Interface ITfsIdentityStore

Properties

Name Description
System_CAPS_pubproperty AllGlobalAndProjectGroupIdentities

Obsolete.Returns all TeamFoundationIdentities associated with global and project groups.

System_CAPS_pubproperty AllUserIdentities

Get all user identities cached locally.

System_CAPS_pubproperty AllUserIdentityNames

Get all user identities cached locally.

System_CAPS_pubproperty RecentUserNames

Get recently used users from TFS

Methods

Name Description
System_CAPS_pubmethod AddDisplayName(Guid, String)

Adds the given TeamFoundationId,DisplayName pair to cache

System_CAPS_pubmethod AddDisplayNames(Dictionary<Guid, String>)

Adds the given TeamFoundationId,DisplayName pair to cache

System_CAPS_pubmethod AddRecentUser(Guid)

Add the given user to RecentUsers

System_CAPS_pubmethod AddRecentUser(TeamFoundationIdentity)

Add the given user to RecentUsers

System_CAPS_pubmethod Close()

System_CAPS_pubmethod EnsureIdentitiesByAccountName(IEnumerable<String>)

Ensures the cache has the TeamFoundationIdentity objects for the given set of TeamFoundationIdentity identifiers.

System_CAPS_pubmethod EnsureIdentitiesById(IEnumerable<Guid>)

Ensures the cache has the TeamFoundationIdentity objects for the given set of TeamFoundationIdentity identifiers.

System_CAPS_pubmethod FindByAccountName(String)

Finds the TeamFoundationIdentity associated with the unique account name.

System_CAPS_pubmethod FindByDisplayName(String)

Finds the TeamFoundationIdentity associated with the unique display name.

System_CAPS_pubmethod FindByTeamFoundationId(Guid)

Finds the TeamFoundationIdentity associated with the unique Team Foundation id

System_CAPS_pubmethod FindTeamFoundationIdByDisplayName(String)

Finds the TeamFoundationIdentity associated with the unique display name.

System_CAPS_pubmethod GetDisplayName(Guid)

Gets the display name of user associated with the unique foundation id

System_CAPS_pubmethod Initialize()

System_CAPS_pubmethod Refresh()

Causes a synchronous refresh of the identity cache.

See Also

Microsoft.TeamFoundation.TestManagement.Client Namespace

Return to top