RE: [ActiveDir] Last updated/added property?
whenChanged whenCreated Are the ldap attributes. -Original Message- From: Costanzo, Ray [mailto:[EMAIL PROTECTED] Sent: Friday, July 25, 2003 7:46 AM To: [EMAIL PROTECTED] Hi group, Does the AD keep track of when an object (a user, specifically) was last updated or when one was created, and if so, can I get to that in a script? I have a script that runs every night that pulls out name, phone, etc. information for every user in our AD and then drops a table in a SQL Server database and recreates the table with the AD info. It seems a bit silly to do this, since most days there are probably only zero to five changes in user information in our AD. Thanks, Ray at work ** The information contained in this e-mail message is intended only for the personal and confidential use of the recipient(s) named above. Distribution, publication, or retransmission of this message is strictly prohibited. This message may be a bank to client communication and as such is priviliged and confidential. If the reader of this message is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message. The sender of this e-mail specifically opts-out of the Electronic Signatures and Global and National Commerce Act (E-Sign) and any and all similar state and federal acts. Accordingly, but without limitation, any and all documents, contracts, and ageements must contain a handwritten signature of the sender to be legal, valid, and enforceable. ** List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
RE: [ActiveDir] Last updated/added property?
Thanks a lot Joe. Ray at work -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Yes, this info is maintained in two ways. 1. In the whenChanged/whenCreated attributes - ex. (whenCreated=2003072500.0Z) 2. In the USN attributes uSNChanged/uSNCreated. ex. (uSNCreated=648965) trim Hi group, Does the AD keep track of when an object (a user, specifically) was last updated or when one was created, trim ** The information contained in this e-mail message is intended only for the personal and confidential use of the recipient(s) named above. Distribution, publication, or retransmission of this message is strictly prohibited. This message may be a bank to client communication and as such is priviliged and confidential. If the reader of this message is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message. The sender of this e-mail specifically opts-out of the Electronic Signatures and Global and National Commerce Act (E-Sign) and any and all similar state and federal acts. Accordingly, but without limitation, any and all documents, contracts, and ageements must contain a handwritten signature of the sender to be legal, valid, and enforceable. ** List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
RE: [ActiveDir] Last updated/added property?
FWIW, there are a couple other methods for tracking change in AD, but the uSNChanged method Joe described is probably your best bet. Here is more info: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/netdir/ad/o verview_of_change_tracking_techniques.asp Robbie Allen http://www.rallenhome.com/ -Original Message- From: Costanzo, Ray [mailto:[EMAIL PROTECTED] Sent: Friday, July 25, 2003 10:30 AM To: [EMAIL PROTECTED] Subject: RE: [ActiveDir] Last updated/added property? Thanks a lot Joe. Ray at work -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Yes, this info is maintained in two ways. 1. In the whenChanged/whenCreated attributes - ex. (whenCreated=2003072500.0Z) 2. In the USN attributes uSNChanged/uSNCreated. ex. (uSNCreated=648965) trim Hi group, Does the AD keep track of when an object (a user, specifically) was last updated or when one was created, trim ** The information contained in this e-mail message is intended only for the personal and confidential use of the recipient(s) named above. Distribution, publication, or retransmission of this message is strictly prohibited. This message may be a bank to client communication and as such is priviliged and confidential. If the reader of this message is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message. The sender of this e-mail specifically opts-out of the Electronic Signatures and Global and National Commerce Act (E-Sign) and any and all similar state and federal acts. Accordingly, but without limitation, any and all documents, contracts, and ageements must contain a handwritten signature of the sender to be legal, valid, and enforceable. ** List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir% 40mail.activedir.org/ List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/