User Management API > BS2_EnrolUserEx
Enrolls new user.
This API is only for devices that has been upgraded to the v2.4 FW group.
You can check the FW list from the v2.4 release notes.
Tip
Please use BS2_EnrollUserFaceEx for user enrollment to FaceStation F2.
#include "BS_API.h" int BS2_EnrolUserEx(void* context, uint32_t deviceId, BS2UserBlobEx* userBlob, uint32_t userCount, uint8_t overwrite);
context
: ContextdeviceId
: Device IDuserBlob
: User information trying to enrolluserCount
: Number of usersoverwrite
: Whether to overwrite duplicated user
If successfully done, BS_SDK_SUCCESS
will be returned.
If there is an error, the corresponding error code will be returned.