0

Accidentally gave myself API User permission set and now everywhere in salesforce I get salesforce.com/secur/NoAccess.jsp

is there any way to overcome it consideringI have the only active Admin account?

  • You gave yourself a permission set or did you edit the profile? Can you simply delete it through workbench and some anonymous apex? you can also use the tooling api to pass anonymous apex that can run, find the permission set assignment, and delete it. – Kris Goncalves Sep 22 at 18:05
  • If you clicked the checkbox of the API user then you can not use login.salesforce.com or test.salesforce.com. Try creating another user or get all metadata and create a fresh box – Avijit Chakraborty Sep 23 at 2:32
0

Remove permission set assignments with the API this might help. Login to dataloader and use [SELECT AssigneeId, Assignee.name,Id,PermissionSetId,PermissionSet.name FROM PermissionSetAssignment] to identify yourself.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.