BS2_GetUserDatasFromDirWithKey
+ v2.8.2 Get the information of the user ID from the USB extracted data to match the User Mask.
Declaration
#include "BS_API.h"
int BS2_GetUserDatasFromDirWithKey(void* context, const char* szDir, char* uids, uint32_t uidCount, BS2UserBlob* userBlob, BS2_USER_MASK userMask, const BS2EncryptKey* key);
Información
Parameter
-
[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
| Value | Description |
|---|---|
| 0x0000 | User identifier |
| 0x0001 | User data |
| 0x0002 | User settings |
| 0x0004 | User name |
| 0x0008 | Image |
| 0x0010 | PIN |
| 0x0020 | Card |
| 0x0040 | Fingerprint |
| 0x0080 | Face |
| 0x0100 | Access group |
| 0x0200 | Work code |
| 0x0400 | Private Message |
| 0x0800 | Face (FaceStation F2) |
| 0x1000 | User settings (FaceStation F2) |
| 0xFFFF | User information full |
Return value
Returns BS_SDK_SUCCESS if performed successfully, or a corresponding error code if an error occurs.
See Also
BS2_GetUserDatabaseInfoFromDirWithKey
BS2_GetUserInfosFromDirWithKey
BS2_GetUserInfosExFromDirWithKey