Method InsertUser
InsertUser(string, User)
Adds a new user in the list of the KitchenDraw registered users just above a given user.
Declaration
public Appli.User InsertUser(string identifier, Appli.User beforeUser)
Parameters
| Type | Name | Description |
|---|---|---|
| string | identifier | The identifier of the new user. This value cannot be changed after the user creation and should be unique along all the users of the application. |
| Appli.User | beforeUser | The new user will be inserted just before this one. |
Returns
| Type | Description |
|---|---|
| Appli.User | The new user. |
Exceptions
| Type | Condition |
|---|---|
| Sdk2Exception | If failed to add user. |