How to read entryTTL attribute of dynamicObject

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I can successfully create an active directory dynamic object with the
following code:

set objOU = Getobject("LDAP://cn=users,DC=mycompany,DC=com";)
set objUser = objOU.Create("user", "cn=dynamicuser")
objUser.PutEx 2, "ObjectClass", Array("dynamicObject","user")
objUser.Put "entryTTL", 902
objUser.Put "samAccountName", "dynamicusr"
objUser.Setinfo

However, I have been unable to retrieve the entryTTL value of the
object I create. For example the following returns nothing:

set objUser = Getobject("LDAP://cn=users,DC=mycompany,DC=com";)
objUser.GetInfo
timeToLive = objUser.entryTTL
msgbox(timeToLive)

Additionally, LDP and ADSIEDIT do not display this attribute. Does
anybody know how to retrieve the time to live for a dynamic object?
Thanks in advance.

.