This topic has not yet been rated - Rate this topic

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
)

Parameters

descriptor
Type: Microsoft.TeamFoundation.Framework.Client.IdentityDescriptor

identity specification. Null implies caller

Return Value

Type: 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.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.