.NET Framework Class Library
DBWArm.IsCorrectPin Method

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > .NET API > 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(
String^ userId,
String^ pin
)

JavaScript

function isCorrectPin(userId, pin);

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