I'm using the following:
inputField = arcpy.ListFields(inputLayer, inputFieldName)[0] fieldType = inputField.type
For everything except GlobalID's it's working fine. When the data type is a GlobalID the returned value of .type is "SmallInteger". I can't find any forum or help page showing this to be a known bug. How do I find the type of a global ID field?
I'm not sure exactly how GUIDs work but I'm assuming the actual field value is just a reference to a value stored in the geodatabase, similar to a domain.