USB Exported Control API > BS2_GetUserSmallInfosFromDirWithKey


BS2_GetUserSmallInfosFromDirWithKey

[+2.8.2] Gets the user information corresponding to the user identifier from the data extracted by USB.
BS2UserBlob The difference from BS2_GetUserInfosFromDirWithKey is
For memory efficiency, all are the same except that the fifth factor BS2UserSmallBlob member BS2UserPhoto is pointer-processed.

Declaration

#include "BS_API.h"
 
int BS2_GetUserSmallInfosFromDirWithKey(void* context, const char* szDir, char* uids, uint32_t uidCount, BS2UserSmallBlob* userBlob, const BS2EncryptKey* key);

Parameters

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