function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
Schema.DescribeSObjectResult descAccount = Account.sObjectType.getDescribe(); Map<String, Schema.SObjectField> accFields = descAccount.fields.getMap(); for(Schema.sObjectField fld:accFields.values()){ system.debug(fld); }
SELECT Field FROM FieldPermissions WHERE SobjectType = 'Account'
can u give me one more answer
Second option is to use SOQL to get all the fields related to perticular object
Thanks,
Nitish