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
m 3m 3 

Permission to give a particular user with help of sharing rule, how we can achieve that you used ANT tool,

Permission to give a particular user with help of sharing rule, how we can achieve that you used ANT tool, what is the process, how do u deploy the code using the tool. what is the process
Let say i don’t want to deploy the code, i want to validate it,
i don’t want to deploy it directly, want to validate it and if succeed then i want to deploy, how do u do that
 
NagendraNagendra (Salesforce Developers) 
Hi,

May I suggest you please try something like below.
<target name="deployCodeCheckOnly">
<sf:deploy username="${sf.username}" password="${sf.password}" serverurl="${sf.serverurl}"
deployRoot="ProjectFolder" checkOnly="true"/>
</target>
For more information please check with below link.
Hope this helps.

Kindly mark this as solved if the reply was helpful.

Thanks,
Nagendra