How to read entryTTL attribute of dynamicObject
- From: drrudolph@xxxxxxxxx
- Date: 27 Mar 2007 07:55:47 -0700
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.
.
- Follow-Ups:
- Re: How to read entryTTL attribute of dynamicObject
- From: Lee Flight
- Re: How to read entryTTL attribute of dynamicObject
- Prev by Date: Re: How do I reset access rights to use/view ADUC?
- Next by Date: Re: DNS on new DC at new site...
- Previous by thread: Re: IMPACT of (Delegation Control of Group Policy) on Active Direc
- Next by thread: Re: How to read entryTTL attribute of dynamicObject
- Index(es):