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
abhishek_sf@hotmail.comabhishek_sf@hotmail.com 

How to create a profile using metadata api through apex class

Hi all,

 

     I just want to create profile using apex meta data api using WHDL htrough apex class if any one have any idea then please post the code

Satish_SFDCSatish_SFDC

I do not think there is any such functionality exposed in the Metadata API, to create a profile. But i may be wrong. I am equally intrested to know if this is possible. Let me give it a try. 

 

Regards,

Satish Kumar