+ Start a Discussion
AditiSFDCAditiSFDC 

Is it possible to create Sharing rules via Metadata API?

Is it possible to create owner or criteria based Sharing rules for both custom and standard object via Metadata API?
When I look at metadata.xml (version 32), CustomBasedSharingRules or any other Standard object sharing rules indirectly extends Metadata class but when I generate WSDL2Apex class, they don't extend Metadata class.