Skip to content
This SDK only works with devices released within the past 3 years. We regularly optimize and update the SDK to ensure compatibility and performance. We do not guarantee compatibility or provide technical support for devices older than 3 years.

# NET_SDK_UnlockAccessControlEx

### Interface Definition

C++C#

    1
    2
    3
    4
    BOOL NET_SDK_UnlockAccessControlEx(
        LONG lUserID,
        LONG lChannel,
        UNLOCK_PARAM unlockParam);

    1
    2
    3
    4
    public static extern Boolean NET_SDK_UnlockAccessControlEx(
        Int32 lUserID,
        Int32 lChannel,
        UNLOCK_PARAM unlockParam);

### Function Description

Access control and opening expansion interface, not supported by DVR (recommended).

### Parameter Description

Parameters | Type | Remark
--- | --- | ---
lUserIDin | LONG | User ID, the return value of `NET_SDK_Login` or `NET_SDK_LoginEx`.
lChannelin | LONG | Channel number, starting from 0, for outdoor units (IPC), this parameter is invalid.
unlockParamin | `UNLOCK_PARAM` | Door opening parameters.

### Return Value

- Type：BOOL

- Remark：Returns TRUE if successful, FALSE if failed.

### Remarks

None

Error Code