LEADTOOLS Medical (Leadtools.Ccow assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
GetAuthenticationData Method
See Also 
Leadtools.Ccow Namespace > IAuthenticationRepository Interface : GetAuthenticationData Method



coupon
The connection coupon obtain from the Connect method.
logonName
A user’s logon name.
dataFormat
An application-defined string that is used when an application needs to maintain multiple forms of authentication data for a user (e.g., password, thumbprint image, etc.). If only one form of authentication data is needed, this string can be empty.
appSignature
The application's digital signature.
userData
Application-specific data used to authenticate the user.
coupon
The connection coupon obtain from the Connect method.
logonName
A user’s logon name.
dataFormat
An application-defined string that is used when an application needs to maintain multiple forms of authentication data for a user (e.g., password, thumbprint image, etc.). If only one form of authentication data is needed, this string can be empty.
appSignature
The application's digital signature.
userData
Application-specific data used to authenticate the user.
Enables an application to retrieve the authentication data previously stored for a particular user’s logon name from the authentication repository.

Syntax

Visual Basic (Declaration) 
Function GetAuthenticationData( _
   ByVal coupon As Integer, _
   ByVal logonName As String, _
   ByVal dataFormat As String, _
   ByVal appSignature As String, _
   ByRef userData As String _
) As String
Visual Basic (Usage)Copy Code
Dim instance As IAuthenticationRepository
Dim coupon As Integer
Dim logonName As String
Dim dataFormat As String
Dim appSignature As String
Dim userData As String
Dim value As String
 
value = instance.GetAuthenticationData(coupon, logonName, dataFormat, appSignature, userData)
C# 
string GetAuthenticationData( 
   int coupon,
   string logonName,
   string dataFormat,
   string appSignature,
   out string userData
)
C++/CLI 
String^ GetAuthenticationData( 
   int coupon,
   String^ logonName,
   String^ dataFormat,
   String^ appSignature,
   [Out] String^ userData
) 

Parameters

coupon
The connection coupon obtain from the Connect method.
logonName
A user’s logon name.
dataFormat
An application-defined string that is used when an application needs to maintain multiple forms of authentication data for a user (e.g., password, thumbprint image, etc.). If only one form of authentication data is needed, this string can be empty.
appSignature
The application's digital signature.
userData
Application-specific data used to authenticate the user.

Return Value

The digital signature of the authentication repository.

Remarks

Concatenating the string representations of the following inputs in the order listed shall form the data from which a message digest is computed by the application:
  • connectionCoupon
  • logonName
  • dataFormat
  • userData
An application shall compute its digital signature by encrypting the message digest with its private key.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Ccow requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features