salesforce - Check Update permissions on object instance/record -


we can use schema.sobjecttype.contact.isupdatable() check if current user has permissions update contact objects in general.

i want dynamic object.my object name within objname string variable.

string objname = 'account'; boolean isupdateableaccount = schema.getglobaldescribe().get(objname).getdescribe().isupdateable();


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -