Provides a default set of fields values that can be used to create a user. This is handy for software development purposes.
const options: DefaultUserFieldsOptions = { templateUser: org.getUsername() || '' }; const fields = (await DefaultUserFields.create(options)).getFields();
Asynchronously constructs and initializes a new instance of a concrete subclass with the provided options.
options
An options object providing initialization params to the async constructor.
Provides a default set of fields values that can be used to create a user. This is handy for software development purposes.
const options: DefaultUserFieldsOptions = { templateUser: org.getUsername() || '' }; const fields = (await DefaultUserFields.create(options)).getFields();