imports/vx/server/code/vxapp.js
/**
     * Create a new user with the default password.
     */
Create a new user with the default password.
Create a new user with the default password .
createUserDefault() {
        let username = Util.getGuid()
        OLog.debug("vxapp.js methods createUserDefault username=" + username)
        let userId = Accounts.createUser({ username : username, password : CX.DEFAULT_PASSWORD, tenantId: Util.getCurrentTenantId(Meteor.userId()), source: "USER_EDITOR" })
        return userId
    }
createUserDefault ( ) { let username = Util . getGuid ( ) OLog . debug ( "vxapp.js methods createUserDefault username=" + username ) let userId = Accounts . createUser ( { username : username , password : CX . DEFAULT_PASSWORD , tenantId : Util . getCurrentTenantId ( Meteor . userId ( ) ) , source : "USER_EDITOR" } ) return userId }
Create a new user with the default password.
Create a new user with the default password .