User Management API > BS2_GetUserInfosFromDir
Gets the user information of the given user ID from storage path in device.
#include "BS_API.h" int BS2_GetUserInfosFromDir(void* context, const char* szDir, char* uids, uint32_t uidCount, BS2UserBlob* userBlob);
context
: ContextszDir
: Storage path in deviceuids
: User ID list trying to getuidCount
: Number of user IDuserBlob
: Pointer to store the user information
If successfully done, BS_SDK_SUCCESS
will be returned.
If there is an error, the corresponding error code will be returned.