Programmer's Guide > Interfaces > CMSSession interface > setOldUserData method
  
setOldUserData method
Can be used to allow some methods and properties in this interface to work with older adapters ("Oracle iFS Adapter" or "Documentum Adapter"). Some older adapters require usage of a "user data" field with certain ACL functions (such as those starting with sess_ or dobj_). This allows such functionality of older adapters to be accessed via this AOM interface.
This may be used with the following methods...
disconnect()
getFile()
putFile()
createObjectFromSubtree()
createNewObject()
search()
This stores the given data for use with the next method call which can make use of it. After that method call, the stored data will be automatically erased so it won't affect future calls.
* 
This should only be used with older adapters and will have no effect on newer adapters.
The data is stored directly with this AOM object. If this object is disposed before the method call, the data will not be available for use by the method. To avoid any issues, set the data immediately before making the method call.
setOldUserData(data )
Parameters
Stringdata
Specifies the value to store as the old user data.
Returns
void