Skip to main content
9 events
when toggle format what by license comment
Jul 21, 2015 at 9:39 vote accept Samuel Alexander
Jul 21, 2015 at 9:39 answer added Samuel Alexander timeline score: 0
Jul 17, 2015 at 11:50 comment added Samuel Alexander @KeithC I am not sure it is the only approach :( That's the reason for this question in stackoverflow :)
Jul 17, 2015 at 11:15 comment added Keith C If this is the only approach available then by default it is the right approach... (You could put the detection in a separate class so if you find a better way you just have to change that one class.)
Jul 17, 2015 at 10:41 comment added Samuel Alexander @AmitBangad Does the profile has API access? login.salesforce.com/id/<org_id>/<user_id> will get the user info. It just contains the list of urls. But it does not contains the API enabled for the user
Jul 17, 2015 at 10:38 comment added Samuel Alexander @KeithC We are currently doing that. But that's not the right to do it right?
Jul 17, 2015 at 8:36 comment added Amit Bangad I am not sure, 'API Enabled' is the only permission in profile which can be used to check if API is enabled for this User
Jul 17, 2015 at 7:45 comment added Keith C Hopefully you will get a better answer, but wrapping a call to the API in try/catch to detect if it works is one way.
Jul 17, 2015 at 3:58 history asked Samuel Alexander CC BY-SA 3.0