This method returns the object class identifier (CLSID) corresponding to the string identifying the object to an user.
GetUserClassID returns the CLSID associated with the object in the registration database. Usually, this value is identical to the CLSID stored with the object, which is returned by IPersist::GetClassID.
For linked objects, this is the CLSID of the last bound link source.
If the object is running in an application different from the one in which it was created and for the purpose of being edited is emulating a class that the container application recognizes, the CLSID returned is that of the class being emulated rather than that of the object's own class.
To determine whether the platform supports this interface, see Determining Supported COM APIs.