cancel
Showing results for 
Search instead for 
Did you mean: 

Issue Deleting User After Making A Custom PersonService

crittendonr
Champ in-the-making
Champ in-the-making
Hello,

I made a PersonService that creates a new user account, creates a space for the user when they first log in.

However if I log in as an admin and try to delete the user I get the following message.
"Failed to delete User due to error: User does not exist: scooby12".

The user is able to log in alright but deleting them does not happen.  Is there something missing in my PersonService?

Many thanks,

Rollin
2 REPLIES 2

andy
Champ on-the-rise
Champ on-the-rise
Hi

Person/User is annoying …..

The AuthenticationService looks after users and authentication.
The PersonService the personal information keyed by the username.

Deleting a user needs to go through the AuthenticationService, or they will still exist as an authentication. The implementation in the authentication service may include deleting the personal information.

Regards

Andy

crittendonr
Champ in-the-making
Champ in-the-making
I put in some things related to USER creation and all is working correctly now.

Many thanks,

Rollin