GetUserInfoByPIN2

Definition

VARIANT_BOOL GetUserInfoByPIN2(([in] long dwMachineNumber, ([out] BSTR * Name, [out] BSTR * Password, [out] long * Privilege, [out] VARIANT_BOOL * Enabled)

Usage

Obtain user information via the current pin2 value.

Parameter

dwMachineNumber Device number
Name User name
PasswordUser password
PrivilegeUser privilege. 0: common user, 1: enroller, 2: administrator, 3: super administrator
Enabled
User enable flag. 1: Enabled. 0: Disabled

ReturnValue

Return True if it is successful, or return False.

RelatedFunction

GetUserInfo