~~NOTOC~~ [[user_management_api]] > [[BS2_GetUserList]] ---- ===== BS2_GetUserList ===== Gets enrolled user ID as array. The size of the user ID is [[user_management_api#User|BS2_USER_ID_SIZE]]. \\ ==== Declaration ==== #include "BS_API.h" int BS2_GetUserList(void* context, uint32_t deviceId, char** uidsObjs, uint32_t* numUid, IsAcceptableUserID ptrIsAcceptableUserID); ==== Parameter ==== * [In] ''//context//'' : Context * [In] ''//deviceId//'' : Device ID * [Out] ''//uidsObjs//'' : Pointer to store the user ID list's address * [Out] ''//numUid//'' : Number of users * [In] ''//ptrIsAcceptableUserID//'' : TBD **NOTE**\\ The uidsObjs variable needs to return the memory to the system by the BS2_ReleaseObject function after being used. ==== 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 ==== [[BS2_GetUserInfos]]\\ [[BS2_EnrolUser]]\\ [[BS2_RemoveUser]]\\ [[BS2_RemoveAllUser]]