Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- descriptor
 Type: Microsoft.VisualStudio.Services.Identity.IdentityDescriptor
- includeMembership
 Type: System.Boolean
- providerInfo
 Type: System.String
- requestContext
 Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- syncErrors
 Type: Microsoft.VisualStudio.Services.Identity.SyncErrors
- identity
 Type: Microsoft.VisualStudio.Services.Identity.Identity%
Return Value
Type: System.Boolean
Implements
.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.