.NET Framework Class Library
DBWArm.IsCorrectPin Method

<< Click to Display Table of Contents >>

Navigation:  MwPDMApi Namespace > DBWArm Class > DBWArm Methods >

.NET Framework Class Library
DBWArm.IsCorrectPin Method

Check the correctness of given pin for given user

Namespace: MwPDMApi
Assembly:  MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

Visual Basic

Public Function IsCorrectPin ( _

 userId As String, _
 pin As String _
As Boolean

C#

public bool IsCorrectPin(

 string userId,
 string pin
)

Visual C++

public:

bool IsCorrectPin(
 StringuserId,
 Stringpin
)

JavaScript

function isCorrectPin(userIdpin);

Parameters

userId

Type: System.String
User Id linked to the pin

pin

Type: System.String
Personal Identification Number to be checked

Return Value

TRUE if it is the correct PIN for the userId, FALSE otherwise

Remarks

See Also

DBWArm Class

DBWArm Members

MwPDMApi Namespace