getCustomObjectPermissions function

Future<CustomObjectPermissionsResult> getCustomObjectPermissions(
  1. String className,
  2. String id
)

Returns permissions for requested by id object

className - name of the class of custom objects which you want to get id - id of the object, whose permissions you want to get

Implementation

Future<CustomObjectPermissionsResult> getCustomObjectPermissions(
    String className, String id) {
  return GetCustomObjectPermissionsQuery(className, id).perform();
}