function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ktshannonktshannon 

Extracting Profile Field Level Permissions via Metadata API

Hey,

 

I have been playing around with this for a day or two now and from what I have found it is definitely possible. The only issue is I am unsure exactly how the call should be made to acheive this.

 

From my understanding the only way to get Field Level Permission is through the Profile. The only way to get the Profile information is through the retrieve() function. The only way to get the specific Field Level Permissions is to ask for an object associated to the profile.

 

The retrieve function seems to use 3 parameters:

$response=$mySforceConnection->retrieve("1", "2", "3);

 

What I am trying to understanding is how I can make the call for Field Level Security to be displayed for ProfileX on ObjectY.

 

If anyone has had any experience with this please let me know.

 

Thanks!

Kyle

mxravimxravi

I see that this post is a very old one. Did you find a solution for this yet?

 

I am looking for the same thing right now. Do you know of any tools that can give me field level security for a particular object and particular profile?

 

Thank You