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_GetDeviceUsers

### Interface Definition

C++C#

    1
    2
    3
    4
    BOOL NET_SDK_GetDeviceUsers(
        LONG lUserID,
        NET_SDK_USER_INFO* pUserInfo,
        LONG* pUserCount);

    1
    2
    3
    4
    public static extern Boolean NET_SDK_GetDeviceUsers(
        Int32 lUserID,
        IntPtr pUserInfo,
        ref int pUserCount);

### Function Description

Get the user information of the device (currently only supports N9000).

### Parameter Description

Parameters | Type | Remark
--- | --- | ---
lUserIDin | LONG | User ID, the return value of `NET_SDK_Login` or `NET_SDK_LoginEx`.
pUserInfoout | `NET_SDK_USER_INFO`* | User information structure array, refer to `NET_SDK_USER_INFO`.
pUserCountout | LONG* | The actual number of users.

### Return Value

- Type：BOOL

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

### Remarks

None

Error Code