IdeaBlade DevForce 2010 Help Reference
LinkAuthentication Method
See Also  Send Feedback
IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > IAuthenticationManager Interface : LinkAuthentication Method



targetEM
The EntityManager requesting credentials
Called by an EntityManager to request authentication credentials.

Syntax

Visual Basic (Declaration) 
Function LinkAuthentication( _
   ByVal targetEM As EntityManager _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As IAuthenticationManager
Dim targetEM As EntityManager
Dim value As Boolean
 
value = instance.LinkAuthentication(targetEM)
C# 
bool LinkAuthentication( 
   EntityManager targetEM
)
C++/CLI 
bool LinkAuthentication( 
   EntityManager^ targetEM
) 

Parameters

targetEM
The EntityManager requesting credentials

Return Value

True if the link was made

Remarks

When called, the IAuthenticationManager can link its credentials to the target EntityManager. If the IAuthenticationManager does not have credentials, or authenticated credentials, it should return false to indicate that the target EntityManager should try the usual Login processing for an anonymous user. If credentials are available, the EntityManager.LinkForAuthentication method can be used to link credentials.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.