PermissionSet perSet = new PermissionSet(); perSet.Label='Delete Account Permission Set'; perSet.Name='Delete_Account_Permission_Set'; insert perSet;