UserDataStore
Last updated
Last updated
This set of methods was created because they exist in the native SDK. However, they are not entirely helpful in a javascript context (with the possible exception of saveCurrentUser). These methods all work together to store one instance of the User class and provide methods for adding, editing, and removing that user. This is probably an ok model in Java, but in JavaScript you would likely be better served, directly using the exposed User class instead.
Note: Despite the common functionality of these methods, they are not grouped in a sub class or property of gotenna. Instead they are exposed directly on the root gotenna class.
e.g. window.gotenna.addGroupGID(12345)