Su .net, C#, ... RSS 2.0
 Thursday, September 25, 2008

Si tratta di verificare che il parametro userAccountControl abbia il bit 2 valorizzato, caso in cui l'utente è disabilitato:

(userAccountControl:1.2.840.113556.1.4.803:=2)

oppure non valorizzato, nel qual caso l'utente è abilitato:

(!(userAccountControl:1.2.840.113556.1.4.803:=2))

qui si possono trovare informazioni più dettagliate.

Enjoy,

LucaBC.

Thursday, September 25, 2008 5:28:42 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] -
Active Directory | ldap | Windows
Name
E-mail
Home page

Comment (Some html is allowed: a@href@title, strike) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.  

Enter the code shown (prevents robots):

Live Comment Preview
Archive
<September 2010>
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
262728293012
3456789
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2010
Luca Biader Ceipidor
Sign In
Statistics
Total Posts: 47
This Year: 0
This Month: 0
This Week: 0
Comments: 4
Themes
Pick a theme:
All Content © 2010, Luca Biader Ceipidor
DasBlog theme 'Business' created by Christoph De Baene (delarou)