RefreshIdentity Method

IIdentityManagementService.RefreshIdentity Method

Refresh identity properties from provider now. This identity must already be in the IMS store. If identity is a group, its DIRECT members and their properties will also be refreshed (asynchronously).

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

bool RefreshIdentity(
	IdentityDescriptor descriptor


Type: Microsoft.TeamFoundation.Framework.Client.IdentityDescriptor

identity specification. Null implies caller

Return Value

Type: System.Boolean
True if identity is in IMS (in which case will be refreshed now), else false.

Identity properties, such as display name, are synced from the provider over a 24h cylce, by default. Use this API to sync now.

© 2016 Microsoft