Skip to main content

BS2_GetUserSmallDatasFromDirWithKey

+ v2.8.2 Gets the log after a given log record ID from the data extracted by USB by a maximum amount.

BS2UserBlob The difference from BS2_GetUserDatasFromDirWithKey is that For memory efficiency, all are the same except that the fifth factor BS2UserSmallBlob member BS2UserPhoto is pointer-processed.

Declaration​

#include "BS_API.h"

int BS2_GetUserSmallDatasFromDirWithKey(void* context, const char* szDir, char* uids, uint32_t uidCount, BS2UserSmallBlob* userBlob, BS2_USER_MASK userMask, const BS2EncryptKey* key);

Parameters​

  • [In] context : Context

  • [In] szDir : Data storage path

  • [In] uids : List of user identifiers to be imported

  • [In] uidCount : Number of user identifiers

  • [Out] userBlob : Pointer to store user information

  • [In] userMask : User's Mask

  • [In] key : Encryption key and the key value specified by BS2_SetDataEncryptKey

ValueDescription
0x0000User identifier
0x0001User data
0x0002User settings
0x0004User name
0x0008Image
0x0010PIN
0x0020Card
0x0040Fingerprint
0x0080Face
0x0100Access group
0x0200Work code
0x0400Private Message
0x0800Face (FaceStation F2)
0x1000User settings (FaceStation F2)
0xFFFFUser information full

Return value​

Returns BS_SDK_SUCCESS if performed successfully, or a corresponding error code if an error occurs.

See Also​

BS2_GetUserSmallInfosFromDirWithKey

BS2_GetUserSmallDatasFromDirWithKey

BS2_GetUserSmallInfosExFromDirWithKey

BS2_GetUserSmallDatasExFromDirWithKey

Was this page helpful?