USB Exported Control API > BS2_GetUserInfosFromDirWithKey
[+2.8.2] Gets the user information corresponding to the user identifier from the data extracted by USB.
#include "BS_API.h" int BS2_GetUserInfosFromDirWithKey(void* context, const char* szDir, char* uids, uint32_t uidCount, BS2UserBlob* userBlob, const BS2EncryptKey* key);
context
: ContextszDir
: Data storage pathuids
: List of user identifiers to be importeduidCount
: Number of user identifiersuserBlob
: Pointer to store user informationkey
: Encryption key and the key value specified by BS2_SetDataEncryptKey
Returns BS_SDK_SUCCESS
if performed successfully, or a corresponding error code if an error occurs.