caf_cli/CreateUser

Registers a new user using a node.js client.

Registration is implicit when using the launcher app, and explicit registration is only needed in special cases, e.g., only headless operation.

Source:

Methods

newUser(url, options, cb)

Source:

Explicit registration of a new user.

This is only needed for testing or headless operation.

Parameters:
Name Type Description
url string

The target url provided to the original session call.

options sessionOptionsType

The properties of the original session.

cb cbType

A standard callback to notify correct user registration or an error.