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)

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

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

See Also

Reference

IIdentityManagementService Interface

Microsoft.TeamFoundation.Framework.Client Namespace