function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Mubarak Hussain 1Mubarak Hussain 1 

Deleting Permission for 200 Objects???

Hi all,
How to delete the persmission for objects of different profiles in a automated way.
For ex:
I am having 200 objects and 30 profiles.
I need to delete the permission for all those objects in every profile.
How to achieve this in automated way.
Best Answer chosen by Mubarak Hussain 1
Mubarak Hussain 1Mubarak Hussain 1

Myself found the way to remove the permisson.
first I retirve the metadata for objects and profiles using ANT
Then edited the object permission tag in each profile and redeployed.
Now its working.

 

All Answers

salesforce mesalesforce me
Hi Hussain...check it once..

http://training.handsonconnect.org/m/portals/l/91028-editing-user-profiles-modifying-access-permissions-for-volunteer-leaders-and-partner-staff-enhanced-sf-interface
 
Mubarak Hussain 1Mubarak Hussain 1

Myself found the way to remove the permisson.
first I retirve the metadata for objects and profiles using ANT
Then edited the object permission tag in each profile and redeployed.
Now its working.

 
This was selected as the best answer