~~NOTOC~~ [[use_exported_control_api]] > [[BS2_GetUserSmallInfosExFromDirWithKey]] ---- ===== BS2_GetUserSmallInfosExFromDirWithKey===== [+2.8.2] Gets the user information corresponding to the user identifier from the data extracted by USB.\\ The difference from [[BS2_GetUserInfosExFromDirWithKey]] that uses [[user management api#BS2UserBlobEx]] is \\ For memory efficiency, all are the same except that the fifth factor BS2UserSmallBlobEx member BS2UserPhoto is pointer-processed. \\ ==== Declaration ==== #include "BS_API.h" int BS2_GetUserSmallInfosExFromDirWithKey(void* context, const char* szDir, char* uids, uint32_t uidCount, BS2UserSmallBlobEx* userBlob, const BS2EncryptKey* key); [[user management api#BS2UserSmallBlobEx|View the structure of the BS2UserSmallBlobEx]] ==== Parameters ==== * [In] ''//context//'' : Context * [In] ''//szDir//'' : Data storage path * [In] ''//uids//'' : List of user identifiers to be imported * [In] ''//uidCount//'' : Number of user identifiers * [Out] ''//userBlob//'' : Pointer to store user information * [In] ''//key//'' : Encryption key and the key value specified by [[BS2_SetData EncryptKey]]. ==== Return value ==== Returns ''BS_SDK_SUCCESS'' if performed successfully, or a corresponding error code if an error occurs. \\ ==== See Also ==== [[BS2_GetUserSmallInfosFromDirWithKey]]\\ [[BS2_GetUserSmallDatasFromDirWithKey]]\\ [[BS2_GetUserSmallInfosExFromDirWithKey]]\\ [[BS2_GetUserSmallDatasExFromDirWithKey]]