Tag Archives: user

Excellent news! Update inactive user in Apex Test will work without license limit exceeded exception just in Summer 17!

I received today excellent news! Salesforce decided to fix known issue about update inactive user in Apex Test when there are not enough licenses in Summer 17! So very soon every deployment related to user functionality will take much less … Continue reading

Posted in release, salesforce | Tagged , , , , , , , | Leave a comment

Salesforce: check if user has access to post to chatter group

Recently we developed some business logic for client to make chatter post. The logic was working perfect under admin user but when client was giving demo to his managers and tried to execute the logic under random user it failed with … Continue reading

Posted in apex, Chatter | Tagged , , , , , , , , , | Leave a comment

How can be avoided error SINGLE_EMAIL_LIMIT_EXCEEDED Email limit exceeded if need to send email to one single user?

I have been looking for some time looking for a way how can error SINGLE_EMAIL_LIMIT_EXCEEDED Email limit exceeded be avoided if I need to send one simple email to one single user, for example, myself. 15 Email invocations limit on … Continue reading

Posted in apex, email, example, Free, limits, mail, mass, Posts in English, salesforce | Tagged , , , , , , , , | Leave a comment

How to display button on VisualForce page only if user has Delete permission?

This may be useful for both usual Salesforce Developers and ISVs. There are several ways to achieve the functionality described in the header. I would mentioned only the simpliest one: Assume you have custom object CustomObject__c and you need some button … Continue reading

Posted in salesforce, Uncategorized, visualforce | Tagged , , , , , , , , | Leave a comment

Salesforce: ULETAS Gamma 1.0 Release Notes

Today I have read a marvelous post of Bob Buzzard on SSE who answered one question related to the package I released recently. I have found it to be very convenient to screen scrape without having to log in anywhere … Continue reading

Posted in package, salesforce | Tagged , , , , , , , , | 15 Comments

Salesforce: Post to chatter group mentioning a user

I have found gorgeous post about posting which are mentioning users here: http://salesforce.stackexchange.com/a/11160. So we can use suggested way to post to some chatter group with mentioning a user. CollaborationGroup chatterGroup = [ SELECT Id, Name from CollaborationGroup where Name … Continue reading

Posted in Chatter, Posts in English, salesforce | Tagged , , , , | Leave a comment

Salesforce: password never expires

Hello everybody! Probably if you were working with platform Salesforce some time you will find out that it periodically requires you to change your password due to security settings. I have found an interesting excerpt where you can find how … Continue reading

Posted in Posts in English, salesforce, User Management | Tagged , , , , | 1 Comment