"Clint Bergman" <cl...@psd267.wednet.edu> wrote in message news:%231$lYc4hH...@TK2MSFTNGP04.phx.gbl...I'm trying to set an account expiration date for an AD user and cannot deduc$usere how to get at the accountexpires property to set it.
for "FromFileTime" to type "System.Int64": "Cannot convert "System.__ComObject" to "System.Int64"."
"Clint Bergman" <cl...@psd267.wednet.edu> wrote in message news:%231$lYc4hH...@TK2MSFTNGP04.phx.gbl...
"Brandon Shell" <tshel...@mk.gmail.com> wrote in message news:eS7TM$4hHHA...@TK2MSFTNGP03.phx.gbl...
Set objUser = GetObject("LDAP://cn=Jim Smith,ou=Sales,dc=MyDomain,dc=com")
objUser.AccountExpirationDate = #04/22/2007 15:30#
objUser.SetInfo
"Clint Bergman" <cl...@psd267.wednet.edu> wrote in message news:eaSxOoB...@TK2MSFTNGP03.phx.gbl...
"Brandon Shell" <tshel...@gmail.com> wrote in message news:eGjUmWDi...@TK2MSFTNGP03.phx.gbl...
"Brandon Shell" <tshel...@gmail.com> wrote in message news:eGjUmWDi...@TK2MSFTNGP03.phx.gbl...
"Brandon Shell" <tshel...@gmail.com> wrote in message news:eGjUmWDi...@TK2MSFTNGP03.phx.gbl...
"Marcel J. Ortiz [MSFT]" <mos...@online.microsoft.com> wrote in message news:4CFAB471-F34A-46E5...@microsoft.com...