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
Post a Comment