Hi all In our MOSS environment, we import users using the below LDAP query string. It is loosely 3 different inclusion rules. Basically, the first "rule" says import any user accounts that start with 'U', have a surname and an email address, does not have a pager value, and is not disabled. The second "rule" imports accounts that start with 'SYD', '.MR', and thirdly, it imports accounts that have a value in 'extensionAttribute1'.
Does anyone know how this sort of 'query' would be implemented in SPS2010? Apart from the 'exclusion' rules being the opposite, there doesn't seem to be any documentation about how the 'all apply' and 'any apply' rules are grouped. Is it even possible to have "((a and (b or c)) and x or y)" type queries? Nigel (|(&(objectCategory=person)(objectClass=user)(sAMAccountName=U*)(sn=*)(mail=*)(!(userAccountControl:1.2.840.113556.1.4.803:=2)(!(pager=*)))) (&(sAMAccountName=SYD_*)(givenName=.MR*)(mail=*))(&(sAMAccountName=securityofficesydney)(!(userAccountControl:1.2.840.113556.1.4.803:=2))) (&(sAMAccountName=Learning)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))(&(extensionAttribute1=*)(!(userAccountControl:1.2.840.113556.1.4.803:=2)) (!(sAMAccountName=a_*))(!(sAMAccountName=t_*)))) Kind Regards, Nigel Hertz SharePoint Administrator & Developer, Information Technology Stockland, Level 25, 133 Castlereagh Street, Sydney NSW 2000 T: +61 2 9035 2617 M: +61 4 0103 4605 F: +61 2 8988 2617 E: nigel.he...@stockland.com.au<mailto:nigel.he...@stockland.com.au> www.stockland.com.au<http://www.stockland.com.au> Before printing this email, please consider the environment. _____________________________________________________________________________________________________________________________________________________________ Stockland Notice: If this communication has been sent to you by mistake, please delete and notify us. If it has been sent to you by mistake, legal privilege is not waived or lost and you are not entitled to use it in any way. Stockland and its subsidiaries reserve the right to monitor e-mail communication through its networks.
_______________________________________________ ozmoss mailing list ozmoss@ozmoss.com http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss