getIdField()

Overview

public string function getIdField(
      required string objectName
)

Returns the ID field name of the object

Arguments

NameTypeRequiredDescription
objectNamestringYesName of the object whose ID field you wish to get