This is an old revision of the document!


User Management API > BS2_GetUserDatasFromDir


Gets User ID corresponding UserMask from storage path in device.

Declaration

#include "BS_API.h"
 
int BS2_GetUserDatasFromDir(void* context, const char* szDir, char* uids, uint32_t uidCount, BS2UserBlob* userBlob, BS2_USER_MASK userMask);

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
  • [In] userMask : User Mask

Return Value

If successfully done, BS_SDK_SUCCESS will be returned.
If there is an error, the corresponding error code will be returned.

See Also