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);


  • [In] context : Context
  • [In] szDir : Storage path in device
  • [In] uids : User ID list trying to get
  • [In] uidCount : Number of user ID
  • [Out] userBlob : Pointer to store the user information

Return Value

If successfully done, BS_SDK_SUCCESS will be returned.

See Also