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_USER_INFO

### Structure Definition

C++C#

    1
    2
    3
    4
    5
    6
    7
    8
    9
    typedef struct _net_sdk_user_info
    {
        char m_szUserName[36];
        NET_SDK_USER_GROUP szGroup;
        char m_szEmail[64];
        BOOL m_szEnabled;
        BOOL m_szAllowModifyPassword;
        BOOL m_szClosePermissionControl;
    } NET_SDK_USER_INFO;

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    [StructLayout(LayoutKind.Sequential, Pack = 4)]
    public struct NET_SDK_USER_INFO
    {
        [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 36)]
        public byte[] m_szUserName;
        public NET_SDK_USER_GROUP szGroup;
        [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 64)]
        public byte[] m_szEmail;
        public Boolean m_szEnabled;
        public Boolean m_szAllowModifyPassword;
        public Boolean m_szClosePermissionControl;
    }

### Function Description

User information structure.

### Member Description

Member | Type | Remark
--- | --- | ---
m_szUserName | char[36] | User name.
szGroup | `NET_SDK_USER_GROUP` | User group.
m_szEmail | char[64] | Email.
m_szEnabled | BOOL | Available status.
m_szAllowModifyPassword | BOOL | Whether to allow password modification.
m_szClosePermissionControl | BOOL | Whether to disable permission control.

Error Code