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 | |
---|---|---|
![]() |
AllGlobalAndProjectGroupIdentities | Obsolete.Returns all TeamFoundationIdentities associated with global and project groups. |
![]() |
AllUserIdentities | Get all user identities cached locally. |
![]() |
AllUserIdentityNames | Get all user identities cached locally. |
![]() |
RecentUserNames | Get recently used users from TFS |
Methods
Name | Description | |
---|---|---|
![]() |
AddDisplayName(Guid, String) | Adds the given TeamFoundationId,DisplayName pair to cache |
![]() |
AddDisplayNames(Dictionary<Guid, String>) | Adds the given TeamFoundationId,DisplayName pair to cache |
![]() |
AddRecentUser(Guid) | Add the given user to RecentUsers |
![]() |
AddRecentUser(TeamFoundationIdentity) | Add the given user to RecentUsers |
![]() |
Close() | |
![]() |
EnsureIdentitiesByAccountName(IEnumerable<String>) | Ensures the cache has the TeamFoundationIdentity objects for the given set of TeamFoundationIdentity identifiers. |
![]() |
EnsureIdentitiesById(IEnumerable<Guid>) | Ensures the cache has the TeamFoundationIdentity objects for the given set of TeamFoundationIdentity identifiers. |
![]() |
FindByAccountName(String) | Finds the TeamFoundationIdentity associated with the unique account name. |
![]() |
FindByDisplayName(String) | Finds the TeamFoundationIdentity associated with the unique display name. |
![]() |
FindByTeamFoundationId(Guid) | Finds the TeamFoundationIdentity associated with the unique Team Foundation id |
![]() |
FindTeamFoundationIdByDisplayName(String) | Finds the TeamFoundationIdentity associated with the unique display name. |
![]() |
GetDisplayName(Guid) | Gets the display name of user associated with the unique foundation id |
![]() |
Initialize() | |
![]() |
Refresh() | Causes a synchronous refresh of the identity cache. |
See Also
Microsoft.TeamFoundation.TestManagement.Client Namespace
Return to top