Skip to content

Instantly share code, notes, and snippets.

@TonyRenHK
Created September 29, 2016 08:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TonyRenHK/1ff04b7ca18ebb0ecc8ebe6b618dd006 to your computer and use it in GitHub Desktop.
Save TonyRenHK/1ff04b7ca18ebb0ecc8ebe6b618dd006 to your computer and use it in GitHub Desktop.
OBIEE Domain changed
List<user> updateUserList = new List<user>();
for(User u: [select id, name, ASI_OBIEE_Domain__c, CompanyName from User where CompanyName like '%Singapore%' and isActive = true]){
u.ASI_OBIEE_Domain__c = '8624';
updateUserList.add(u);
}
update updateUserList;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment