Performs validation of a user name and password. Typically, you call this method when you want to gather signature information through your application, but still use the ESignature object to validate the signature and perform security checks.
Syntax
object.ValidateSignature(bstrUsername, bstrPassword, nSigType, pbValidSig, bstrUserID, [bCheckTag])
Properties
The ValidateSignature method syntax has these parts:
Part |
Description |
object |
An object expression that evaluates to an object in the Applies To list. |
bstrUsername |
String. User name to be validated. |
bstrPassword |
String. Password to be validated. |
nSigType |
Integer. Indicates the type of signature to be validated. Valid values include:
|
pbValidSig |
Boolean. Returns True if signature is valid, False if not. |
bstrUserID |
String. Returns the user ID of the user. This ID is used when sending a signed operator message. |
bCheckTag |
Boolean. (Optional). Indicates whether the user has access to security assigned to the tag. The default value is False. If this parameter is True, you must call the Initialize() method prior to calling this method. If you do not call Initialize(), or the tag is not a FIX32 data source, the method fails and an error generates. |
Return Value
This method returns HRESULT. If the HRESULT is a value other than S_OK, VBA generates an error. You can handle this error using the On Error Statement You can find out more information about the error by using Err Object.