In our web application, we have users defined by their login, password, e-mail address and group.
We want to use SIP to synchronize users of our application with the ones in the forum.
The idea would be to scan our users and call signIn to check if they are in the forum database. If they are not present, then call Register. Then synchronize the user group with the forum groups using isGroupMember, addUserToGroup and removeUserFromGroup.
However, several questions come to my mind:
1. What if the user is changing his password or e-mail address in our application? How do I update the forum user in that case? It seems that there is no method for editing users information such as password or e-mail. I could recreate a new user if the password has changed because SignIn would return false, so I would use Register, but what if the user is changing his e-mail address? How could I update the e-mail address of a forum user using SIP?
2. If a user is deleted in our application, how do can I delete this user in th forum using SIP?