ClaimsProvider.TrySyncIdentity Method
Namespace: Microsoft.VisualStudio.Services.Identity
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Overridable 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 virtual 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
)
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 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.