USB Exported Control API > BS2_GetUserSmallInfosFromDir
[+ 2.6.3] Gets the user information of the given user ID from USB exported data.
The only difference between BS2_GetUserInfosFromDir which is using structure BS2UserBlob is that the 5th parameter BS2UserPhoto of BS2UserSmallBlob is using pointer for efficient memory use.
#include "BS_API.h" int BS2_GetUserSmallInfosFromDir(void* context, const char* szDir, char* uids, uint32_t uidCount, BS2UserSmallBlob* userBlob);
context : ContextszDir : Storage path in deviceuids : User ID list trying to getuidCount : Number of user IDuserBlob : Pointer to store the user information
If successfully done, BS_SDK_SUCCESS will be returned.