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)
Syntax
'Declaration
Function RefreshIdentity ( _
    descriptor As IdentityDescriptor _
) As Boolean
bool RefreshIdentity(
    IdentityDescriptor descriptor
)
bool RefreshIdentity(
    IdentityDescriptor^ descriptor
)
abstract RefreshIdentity : 
        descriptor:IdentityDescriptor -> bool
function RefreshIdentity(
    descriptor : IdentityDescriptor
) : boolean
Parameters
- 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.
Remarks
Identity properties, such as display name, are synced from the provider over a 24h cylce, by default. Use this API to sync now.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.