[lsc-changes] [Ldap Synchronization Connector (LSC)] page changed: documentation:1.2:configuration:syncoptions:activedirectory

webmaster at lsc-project.org webmaster at lsc-project.org
Thu Sep 15 00:02:11 CEST 2011

A page in your DokuWiki was added or changed. Here are the details:

Date        : 2011/09/15 00:02
Browser     : Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.162 Safari/535.1
IP-Address  :
Hostname    : nsg93-4-82-235-239-71.fbx.proxad.net
Old Revision: http://lsc-project.org/wiki/documentation/1.2/configuration/syncoptions/activedirectory?rev=1316037706
New Revision: http://lsc-project.org/wiki/documentation/1.2/configuration/syncoptions/activedirectory
Edit Summary: 
User        : sbahloul

@@ -96,13 +96,13 @@
  The [[http://lsc-project.org/javadoc/latest/org/lsc/utils/directory/AD.html#getNumberOfWeeksSinceLastLogon(java.lang.String)|getNumberOfWeeksSinceLastLogon]] method takes the String value read from **lastLogonTimestamp** or **lastLogon**, and returns the number of weeks since the date recorded.
  This can be useful to detect unused accounts. For example:
- <code java>
+ <code>
  # Delete any accounts that haven't been used for 3 months or more
  lsc>tasks>task>MyTask>syncOptions>conditions>delete =
  AD.getNumberOfWeeksSinceLastLogon(srcBean.getAttributeValueById("lastLogon") > 12)
  ===== Account expiry date =====
  To set the Active Directory formatted value for an account expiry attribute, you can use the //[[http://lsc-project.org/javadoc/latest/org/lsc/utils/directory/AD.html#getAccountExpires(java.lang.String)|AD.getAccountExpires]]// methods.

This mail was generated by DokuWiki at

More information about the lsc-changes mailing list