~~NOTOC~~ [[user_management_api]] > [[BS2_EnrollUserFaceEx]] ---- ===== BS2_EnrollUserFaceEx ===== [+ 2.7.1] Enrolls new user. \\ This API includes the ability to register Visual Face credentials. \\ ==== Declaration ==== #include "BS_API.h" int BS2_EnrollUserFaceEx(void* context, uint32_t deviceId, BS2UserFaceExBlob* userBlob, uint32_t userCount, uint8_t overwrite); [[user management api#BS2UserFaceExBlob|See BS2UserFaceExBlob Structure]] ==== Parameter ==== * [In] ''//context//'' : Context * [In] ''//deviceId//'' : Device ID * [In] ''//userBlob//'' : User information trying to enroll * [In] ''//userCount//'' : Number of users * [In] ''//overwrite//'' : Whether to overwrite duplicated user ==== Return Value ==== If successfully done, ''BS_SDK_SUCCESS'' will be returned. \\ If there is an error, the corresponding error code will be returned. \\ ==== See Also ==== [[BS2_EnrollUserFaceEx]]\\ [[BS2_GetUserInfosFaceEx]]\\ [[BS2_GetUserDatasFaceEx]]