Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Map<String,Schema.SObjectField> mapAccountFieldDescribed = Schema.SObjectType.Account.fields.getMap();
- for(String strFieldName: mapAccountFieldDescribed.keySet())
- {
- Schema.SobjectField objfield = mapAccountFieldDescribed.get(strFieldName);
- system.debug('====name here==='+objfield.getDescribe().getName());
- system.debug('===is accessibility==='+objfield.getDescribe().isAccessible());
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement