We have a web app that registers web users in the names.nsf by creating a person document. They are uniquely identified by a number in the employee ID field. We also keep the persons name, email address, etc. in the person document.
We only allow one user for each account. Should a client want to set up a different user to access their account information, we need to delete the existing user from the names.nsf and then register the new user by creating a new person document.
Is there an easy way to delete the person document using formula language? If not, any ideas as to how to do this using LS?
I would greatly appreciate any help on this.