add PrivilegeDelete fucntion