User Management API > BS2_GetUserSmallInfos


[+ 2.6.3] Gets the user information of the given user ID with efficient use of memory.

The only difference between BS2_GetUserInfos which is using structure BS2UserBlob is that the 3rd parameter BS2UserPhoto of BS2UserSmallBlob is using pointer for efficient memory use.


Declaration

#include "BS_API.h"
 
int BS2_GetUserSmallInfos(void* context, uint32_t deviceId, char* uids, uint32_t uidCount, BS2UserSmallBlob* userBlob);

Parameter

  • [In] context : Context
  • [In] deviceId : Device ID
  • [In] uids : User ID list trying to get
  • [In] uidCount : Number of user ID
  • [Out] userBlob : Pointer to store the user information

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