Syntax
| strValue = AI.Username
|
|---|---|
Type
| String
|
Access
| read-only
|
Description
| Returns the authenticated Tradium user name under which the AI object operates. The value is initialized during host application startup through the Configure interface and reflects the user that is logged in to Tradium at that moment.
The Username is used server-side as the lookup key in the Prm_Users_AI table, where multi-turn conversation state (previous_response_id) and per-user metadata are stored. This means that two conversations started by different users are kept fully isolated, even when they share the same SiteId.
|
See Also
| |
Example
| Sub Main |