~~NOTOC~~ [[use_exported_control_api]] > [[BS2_GetUserInfosFromDirWithKey]] ---- ===== BS2_GetUserInfosFromDirWithKey===== [+2.8.2] USB로 추출한 Data에서 사용자 식별자에 해당하는 사용자 정보를 가져옵니다. \\ ==== 함수 ==== #include "BS_API.h" int BS2_GetUserInfosFromDirWithKey(void* context, const char* szDir, char* uids, uint32_t uidCount, BS2UserBlob* userBlob, const BS2EncryptKey* key); [[user management api#BS2UserBlob|BS2UserBlob 구조체 보기]] ==== 파라미터 ==== * [In] ''//context//'' : Context * [In] ''//szDir//'' : Data 저장 경로 * [In] ''//uids//'' : 가져오고자 하는 사용자 식별자 리스트 * [In] ''//uidCount//'' : 사용자 식별자 개수 * [Out] ''//userBlob//'' : 사용자 정보를 저장할 포인터 * [In] ''//key//'' : 암호화 키이며 [[BS2_SetDataEncryptKey]]로 지정한 키값입니다. ==== 반환값 ==== 성공적으로 수행될 경우 ''BS_SDK_SUCCESS''를 반환하고, 에러가 발생할 경우 상응하는 에러 코드를 반환합니다. \\ ==== 함께 보기 ==== [[BS2_GetUserDatabaseInfoFromDirWithKey]]\\ [[BS2_GetUserListFromDirWithKey]]\\ [[BS2_GetUserDatasFromDirWithKey]]\\ [[BS2_GetUserInfosExFromDirWithKey]]\\ [[BS2_GetUserDatasExFromDirWithKey]]\\ [[BS2_GetLogFromDirWithKey]]\\ [[BS2_GetLogBlobFromDirWithKey]]\\ [[BS2_GetFilteredLogFromDirWithKey]]