I am getting all the object and related fields from my org using
public Map schemaMap = Schema.getGlobalDescribe();
Map fieldMap = schemaMap.get(objectName).getDescribe().fields.getMap();
And selecting some fields and saving them into a object and try to display it on a another VF page. But I have issue that when I try to display all the fields it is getting a error on VF page.
Insufficient Privileges You do not have the level of access necessary to perform the operation you requested. Please contact the owner of the record or your administrator if access is necessary.
I don't want to get this error. For that I just only want to display all the object and fields which are accessible to the current login user. Is any one here have any idea how to restrict the object and fields which are not accessible to the user.