~~NOTOC~~
[[use_exported_control_api]] > [[BS2_GetUserSmallInfosFromDir]]
----
===== 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 [[user management api#BS2UserBlob]] is that the 5th parameter BS2UserPhoto of BS2UserSmallBlob is using pointer for efficient memory use.
\\
==== Declaration ====
#include "BS_API.h"
int BS2_GetUserSmallInfosFromDir(void* context, const char* szDir, char* uids, uint32_t uidCount, BS2UserSmallBlob* userBlob);
[[user management api#BS2UserSmallBlob|See BS2UserSmallBlob Structure]]
==== Parameter ====
* [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 ====
[[BS2_GetUserSmallInfosFromDir]]\\ [[BS2_GetUserSmallDatasFromDir]]\\ [[BS2_GetUserSmallInfosExFromDir]]\\ [[BS2_GetUserSmallDatasExFromDir]]