User Management API > BS2_GetUserSmallDatasEx
[+ 2.6.3] Gets selected data of user with efficient use of memory.
You can get selected data of the user ID using userMask.
The only difference between BS2_GetUserDatasEx which is using structure BS2UserBlobEx is that the 3rd parameter BS2UserPhoto of BS2UserSmallBlobEx is using pointer for efficient memory use.
#include "BS_API.h" int BS2_GetUserSmallDatasEx(void* context, uint32_t deviceId, char* uids, uint32_t uidCount, BS2UserSmallBlobEx* userBlob, BS2_USER_MASK userMask);
context
: ContextdeviceId
: Device IDuids
: User ID list trying to getuidCount
: Number of user IDuserBlob
: Pointer to store the user informationuserMask
: User MaskValue | 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 | Jobcode |
0x0400 | User phrase(personal message) |
0x0800 | Face (FaceStation F2) |
0x1000 | User setting(FaceStation F2) |
0xFFFF | All information |
If successfully done, BS_SDK_SUCCESS
will be returned.
If there is an error, the corresponding error code will be returned.