Share via


IIdentityProvider.TrySyncIdentity Method

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

Syntax

'Declaration
Function TrySyncIdentity ( _
    descriptor As IdentityDescriptor, _
    includeMembership As Boolean, _
    providerInfo As String, _
    requestContext As TeamFoundationRequestContext, _
    syncErrors As SyncErrors, _
    <OutAttribute> ByRef identity As TeamFoundationIdentity _
) As Boolean
bool TrySyncIdentity(
    IdentityDescriptor descriptor,
    bool includeMembership,
    string providerInfo,
    TeamFoundationRequestContext requestContext,
    SyncErrors syncErrors,
    out TeamFoundationIdentity identity
)
bool TrySyncIdentity(
    IdentityDescriptor^ descriptor, 
    bool includeMembership, 
    String^ providerInfo, 
    TeamFoundationRequestContext^ requestContext, 
    SyncErrors^ syncErrors, 
    [OutAttribute] TeamFoundationIdentity^% identity
)
abstract TrySyncIdentity : 
        descriptor:IdentityDescriptor * 
        includeMembership:bool * 
        providerInfo:string * 
        requestContext:TeamFoundationRequestContext * 
        syncErrors:SyncErrors * 
        identity:TeamFoundationIdentity byref -> bool
function TrySyncIdentity(
    descriptor : IdentityDescriptor, 
    includeMembership : boolean, 
    providerInfo : String, 
    requestContext : TeamFoundationRequestContext, 
    syncErrors : SyncErrors, 
    identity : TeamFoundationIdentity
) : boolean

Parameters

Return Value

Type: System.Boolean
Returns Boolean.

.NET Framework Security

See Also

Reference

IIdentityProvider Interface

Microsoft.TeamFoundation.Framework.Server Namespace