Provides a default set of fields values that can be used to create a user. This is handy for software development purposes.

const connection: Connection = await Connection.create({
authInfo: await AuthInfo.create({ username: 'user@example.com' })
});
const org: Org = await Org.create({ connection });
const options: DefaultUserFields.Options = {
templateUser: org.getUsername()
};
const fields = (await DefaultUserFields.create(options)).getFields();

Hierarchy

Methods

Methods