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

1111. appearing after print sequence - php -

excel - I can't get the attachement of the email PHP -

node.js - Express and Redis - If session exists for this user, don't allow access -