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(); Copy
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();
Get user fields.
Provides a default set of fields values that can be used to create a user. This is handy for software development purposes.