Function: user.Create

Creates the User in the system and returns the id of the User. When the User does not have an id a new one is created. If a User with the same id already exists the new one is not saved and an empty id is returned. Currently only accessible by the UI.

Syntax

{
	"method": "user.Create",
	"params": {
		"object": "...",
	},
	"id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
}
AdvFuture<AdvGuid> Create( User object );
public Task<Guid> CreateAsync(User @object, CancellationToken ct = default);
create(object: User): Promise<string>;

Parameters

object : User

The User to create.

Result : guid

Id of the newly created User.

Errors

Data.Forbidden ≥wg 0.4.6

The caller does not have the required permissions to access the data. For additional information, see Data.Forbidden.

Remarks

This method requires API write access.

Currently only the UI has write access.