~~NOTOC~~ [[user_management_api]] > [[BS2_GetUserDatasFaceEx]] ---- ===== BS2_GetUserDatasFaceEx ===== [+ 2.7.1] Gets selected data of user. \\ You can get selected data of the user ID using userMask. \\ This function supports Visual Face credentials. \\ ==== Declaration ==== #include "BS_API.h" int BS2_GetUserDatasFaceEx(void* context, uint32_t deviceId, char* uids, uint32_t uidCount, BS2UserFaceExBlob* userBlob, BS2_USER_MASK userMask); [[user management api#BS2UserFaceExBlob|See BS2UserFaceExBlob Structure]] ==== Parameter ==== * [In] ''//context//'' : Context * [In] ''//deviceId//'' : Device ID * [In] ''//uids//'' : User ID list trying to get * [In] ''//uidCount//'' : Number of user ID * [Out] ''//userBlob//'' : Pointer to store the user information * [In] ''//userMask//'' : User Mask ^Value ^Description ^ |0x0000 |User ID | |0x0001 |User data | |0x0002 |User setting | |0x0004 |User name | |0x0008 |Image | |0x0010 |PIN | |0x0020 |Card | |0x0040 |Fingerprint | |0x0080 |Face | |0x0100 |Access group | |0x0200 ​ |Job code​ | |0x0400 ​ |User phrase(personal message) ​ | |0x0800 ​ |Face ''​(Visual Face Support)'' ​ | |0x1000 ​ |User setting''​(Visual Face Support)'' ​ | |0xFFFF |All information | ==== 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]]