ClaimsProvider.TrySyncIdentity Method
Namespace: Microsoft.TeamFoundation.Framework.Server
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 TeamFoundationIdentity _
) As Boolean
public bool TrySyncIdentity(
IdentityDescriptor descriptor,
bool includeMembership,
string providerInfo,
TeamFoundationRequestContext requestContext,
SyncErrors syncErrors,
out TeamFoundationIdentity identity
)
public:
virtual bool TrySyncIdentity(
IdentityDescriptor^ descriptor,
bool includeMembership,
String^ providerInfo,
TeamFoundationRequestContext^ requestContext,
SyncErrors^ syncErrors,
[OutAttribute] TeamFoundationIdentity^% identity
) sealed
abstract TrySyncIdentity :
descriptor:IdentityDescriptor *
includeMembership:bool *
providerInfo:string *
requestContext:TeamFoundationRequestContext *
syncErrors:SyncErrors *
identity:TeamFoundationIdentity byref -> bool
override TrySyncIdentity :
descriptor:IdentityDescriptor *
includeMembership:bool *
providerInfo:string *
requestContext:TeamFoundationRequestContext *
syncErrors:SyncErrors *
identity:TeamFoundationIdentity byref -> bool
public final function TrySyncIdentity(
descriptor : IdentityDescriptor,
includeMembership : boolean,
providerInfo : String,
requestContext : TeamFoundationRequestContext,
syncErrors : SyncErrors,
identity : TeamFoundationIdentity
) : boolean
Parameters
- descriptor
Type: Microsoft.TeamFoundation.Framework.Server.IdentityDescriptor
- includeMembership
Type: System.Boolean
- providerInfo
Type: System.String
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- syncErrors
Type: Microsoft.TeamFoundation.Framework.Server.SyncErrors
- identity
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationIdentity%
Return Value
Type: System.Boolean
Returns 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.