LEADTOOLS Medical (Leadtools.Ccow assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
SetAuthenticationData Method
See Also 
Leadtools.Ccow Namespace > IAuthenticationRepository Interface : SetAuthenticationData 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.
userData
Application-specific data used to authenticate the user.
appSignature
The application's digital signature.
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.
userData
Application-specific data used to authenticate the user.
appSignature
The application's digital signature.
Enables an application to store authentication data for a particular user’s logon name within the authentication repository.

Syntax

Visual Basic (Declaration) 
Sub SetAuthenticationData( _
   ByVal coupon As Integer, _
   ByVal logonName As String, _
   ByVal dataFormat As String, _
   ByVal userData As String, _
   ByVal appSignature As String _
) 
Visual Basic (Usage)Copy Code
Dim instance As IAuthenticationRepository
Dim coupon As Integer
Dim logonName As String
Dim dataFormat As String
Dim userData As String
Dim appSignature As String
 
instance.SetAuthenticationData(coupon, logonName, dataFormat, userData, appSignature)
C# 
void SetAuthenticationData( 
   int coupon,
   string logonName,
   string dataFormat,
   string userData,
   string appSignature
)
C++/CLI 
void SetAuthenticationData( 
   int coupon,
   String^ logonName,
   String^ dataFormat,
   String^ userData,
   String^ appSignature
) 

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.
userData
Application-specific data used to authenticate the user.
appSignature
The application's digital signature.

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