getOidForObject(obj: Any): String;
The getOidForObject method of the Schema class returns the object identifier (oid) of the object specified in the obj parameter. If the obj parameter is not an object reference, an exception is raised.
This method can be called for object references obtained by the getPropertyValue method of the Object class when the class of the object is not visible in the current schema.