Benioff's stakeholder approach encourages execs to take into consideration customers, employees, shareholders, members of the community and those who are underserved.
"I think that every CEO has to start to stand up and speak on behalf of their stakeholders," he added. (Tweet This)
Read more from Mad Money with Jim Cramer
Cramer Remix: The sell-off in these two retail stocks is wrong
Cramer: Oil could be pushing the Fed to raise rates
Cramer: The one niche group immune to market volatility
Benioff openly opposed a bill in North Carolina that was passed in March, which took down the provision that allowed transgender individuals to use the bathroom of the gender that they identify with. He was also joined in opposition by Bank of America, and even Donald Trump.
"Donald Trump, he actually came out in favor of what we said in North Carolina, which was that that law is a bad idea and that governor needs to make a change now," Benioff said.
The CEO partly attributed Salesforce's rapid growth rate to doing what is right for customers. He intends to continue being a leader in both technology and social issues.
Benioff also fought against a bill in Indiana that was ultimately changed, which would have allowed faith-based organizations to refuse service to the LGBT community in the name of religious freedom. He also helped to push Georgia's governor into vetoing a state bill that would have allowed faith-based organizations to decline services or fire employees over religious beliefs.
In Benioff's perspective, states that discriminate against LGBT employees and customers impact the ability to hire, invest, have conferences and bring people from out of state into that state. Thus, it will require Salesforce to reduce its investment in that state.
"We are on the right side of history here, and we are just trying to do what's right for our customers and our employees," he said.