Поделиться через


UnauthenticatedProvider.TrySyncIdentity Method

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

Syntax

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

Parameters

Return Value

Type: System.Boolean

Implements

IIdentityProvider.TrySyncIdentity(IdentityDescriptor, Boolean, String, TeamFoundationRequestContext, SyncErrors, Identity%)

.NET Framework Security

See Also

Reference

UnauthenticatedProvider Class

Microsoft.VisualStudio.Services.Identity Namespace