Sometimes you will have an orphan user in Dynamics-GP that you cannot delete the user. You look in SQL and see that the login doesn’t exist and you also check the database and the user is not associated with the database. To remove the users
- log into SQL Studio Manager
- Create a new query window
- Set the database to DYNAMICS
- Execute the following scripts
-
- DELETE DYNAMICS..SY01400 WHERE USERID = ‘<User_name>’
-
DELETE DYNAMICS..ACTIVITY WHERE USERID = '<User_name>'
-
DELETE DYNAMICS..SY10000 WHERE USERID = '<User_name>'
-
DELETE DYNAMICS..SY60100 WHERE USERID = '<User_name>'
-
DELETE DYNAMICS..SY10500 WHERE USERID = '<User_name>'
-
DELETE DYNAMICS..SY10550 WHERE USERID = '<User_name>