> For the complete documentation index, see [llms.txt](https://dansteren.gitbook.io/cordova-plugin-gotenna/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dansteren.gitbook.io/cordova-plugin-gotenna/api/user.md).

# User

The User class is exposed as gotenna.User and can be instantiated thusly:

```javascript
var myUser = new gotenna.User({name: 'John Doe', gid: 1234567890, ...})
```

## Static Methods

{% content-ref url="/pages/-LK26YGk7z5lIBOU0nVi" %}
[createUser](/cordova-plugin-gotenna/api/user/createuser.md)
{% endcontent-ref %}

## Methods

{% content-ref url="/pages/-LK27PL5ncl\_KM4Ib0hp" %}
[constructor](/cordova-plugin-gotenna/api/user/constructor.md)
{% endcontent-ref %}

{% content-ref url="/pages/-LK27UDVEAFcjCkuNCMC" %}
[addGroupGID](/cordova-plugin-gotenna/api/user/addgroupgid.md)
{% endcontent-ref %}

{% content-ref url="/pages/-LK27hLDZq5pC-jakcQF" %}
[addMultiCastGroupGID](/cordova-plugin-gotenna/api/user/addmulticastgroupgid.md)
{% endcontent-ref %}

{% content-ref url="/pages/-LK27ne-I\_vIkkPFzT-z" %}
[deleteGroupGID](/cordova-plugin-gotenna/api/user/deletegroupgid.md)
{% endcontent-ref %}

{% content-ref url="/pages/-LK27tbdRpr9mNujlWAC" %}
[deleteMulticastGroupGID](/cordova-plugin-gotenna/api/user/deletemulticastgroupgid.md)
{% endcontent-ref %}

{% content-ref url="/pages/-LK28AbUlDxYBTeIlmY4" %}
[getGID](/cordova-plugin-gotenna/api/user/getgid.md)
{% endcontent-ref %}

{% hint style="info" %}
Note: These docs are not up to date. For a full list of methods check the [API Reference](/cordova-plugin-gotenna/api.md) page
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://dansteren.gitbook.io/cordova-plugin-gotenna/api/user.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
