Skip to content

NET_SDK_GetUserGroups

Interface Definition

1
2
3
4
BOOL NET_SDK_GetUserGroups(
    LONG lUserID,
    NET_SDK_USER_GROUP* pUserGroup,
    DWORD& groupNum);
1
2
3
4
public static extern Boolean NET_SDK_GetUserGroups(
    Int32 lUserID,
    IntPtr pUserGroup,
    ref UInt32 groupNum);

Function Description

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

Parameter Description

Parameters Type Remark
lUserIDin LONG User ID, the return value of NET_SDK_Login or NET_SDK_LoginEx.
pUserGroupout NET_SDK_USER_GROUP* User group information.
groupNumout DWORD& The actual number of user groups returned.

Return Value

  • type:BOOL

  • remark:Returns TRUE if successful, FALSE if failed.

Remarks

None

Error Code