You cannot delete a local user if he or she is referenced by another object. See Deleting Referenced Objects for more details.
To delete a local user
In the AMC, navigate to Security Administration > Users & Groups.
Click the Local Accounts tab.
Select the checkbox for the user you want to delete.
Click the X (Delete) icon.