When I use Schema.describeSObjects()
the result always returns isDeletable=TRUE
, even though the current user doesn't have DELETE permission on an sObject; however if Schema.sObjectType.<<sObject>>
is used, then it returns expected result i.e. isDeletable=FALSE
.
Above observation was found for isCreateable
flag as well!