# UserInfo (/zh-CN/api-reference/rtc/unreal-cpp/class-userinfo)

> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).

<a id="class_userinfo__prototype"></a>

```cpp
struct UserInfo {
                    uid_t uid;
                    char userAccount[MAX_USER_ACCOUNT_LENGTH];
                    UserInfo()
                    : uid(0) {
                    userAccount[0] = '\0';
                    }
                    };
```

<a id="class_userinfo__parameters"></a>

## 属性 [#属性]

<ParameterList>
<a id="uid"></a>
<Parameter name="uid">

用户 ID。

</Parameter>
<a id="useraccount"></a>
<Parameter name="userAccount">

用户 Account。长度限制为[MAX_USER_ACCOUNT_LENGTH_TYPE](/zh-CN/api-reference/rtc/unreal-cpp/enum-maxuseraccountlengthtype)。

</Parameter>
</ParameterList>
