ITeamFoundationIdentityService.RefreshIdentity Method
Synchronizes an identity now. This identity must already be in the IMS store. If identity is a group, its DIRECT members' properties will also be synced (asynchronously).
Namespace: Microsoft.TeamFoundation.Server.Core
Assembly: Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)
Syntax
'Declaration
Function RefreshIdentity ( _
requestContext As TeamFoundationRequestContext, _
descriptor As IdentityDescriptor _
) As Boolean
bool RefreshIdentity(
TeamFoundationRequestContext requestContext,
IdentityDescriptor descriptor
)
bool RefreshIdentity(
TeamFoundationRequestContext^ requestContext,
IdentityDescriptor^ descriptor
)
abstract RefreshIdentity :
requestContext:TeamFoundationRequestContext *
descriptor:IdentityDescriptor -> bool
function RefreshIdentity(
requestContext : TeamFoundationRequestContext,
descriptor : IdentityDescriptor
) : boolean
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe context for this request.
descriptor
Type: Microsoft.VisualStudio.Services.Identity.IdentityDescriptorThe identity specification. Null implies caller.
Return Value
Type: System.Boolean
True if identity is in IMS (in which case will be synced now), else false.
.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.