~~NOTOC~~
[[server_api]] > [[BS2_VerifyUserSmall]]
----
===== BS2_VerifyUserSmall =====
[+ 2.6.3] Transfers user information mapped to the card or user ID authentication results to the device.\\
The only difference between [[BS2_VerifyUser]] which is using structure [[user management api#BS2UserBlob]] is that the 5th parameter BS2UserPhoto of BS2UserSmallBlob is using pointer for efficient memory use.
\\
==== Declaration ====
#include "BS_API.h"
int BS2_VerifyUserSmall(void* context, uint32_t deviceId, uint16_t seq, int handleResult, BS2UserSmallBlob* userBlob);
[[user management api#BS2UserSmallBlob|See BS2UserSmallBlob Structure]]
==== Parameter ====
* [In] ''//context//'' : Context
* [In] ''//deviceId//'' : Device ID
* [In] ''//seq//'' : Packet sequence number
* [In] ''//handleResult//'' : Value of matching result(BS_SDK_SUCCESS or BS_SDK_ERROR_XXX)
* [In] ''//userBlob//'' : Matched user information
**NOTE**\\
Packet sequence number must be equivalent to the value sent from the OnVerifyUser. \\
If the handleResult is BS_SDK_SUCCESS, the userBlob should not be null.
==== Return Value ====
If successfully done, ''BS_SDK_SUCCESS'' will be returned. \\
==== See Also ====
[[BS2_VerifyUserSmall]]\\
[[BS2_IdentifyUserSmall]]\\
[[BS2_VerifyUserSmallEx]]\\
[[BS2_IdentifyUserSmallEx]]