Get Shared Object Path

I know you can set a Shared Object’s path, but can you GET a shared object’s path if you don’t specify the path yourself?