Professional Documents
Culture Documents
Salesforce Notes
Salesforce Notes
Use profiles to grant the minimum permissions and settings that all users of a particular type need. Then
use permission sets to grant more permissions as needed. The combination of profiles and permission
sets gives you a great deal of flexibility in specifying object-level access.
public class EmailManager {
// Public method
mail.setToAddresses(toAddresses);
mail.setSubject(subject);
mail.setPlainTextBody(body);
inspectResults(results);
}
// Helper method
if (res.isSuccess()) {
else {
sendResult = false;
return sendResult;
}
+
Where You Can Use Visualforce