Querying msDS-User-Account-Control-Computed in ADLDS under Windows 2008 R2

已答复 Querying msDS-User-Account-Control-Computed in ADLDS under Windows 2008 R2

  • Thursday, March 01, 2012 3:02 PM
     
     

    I am trying to query msDS-User-Account-Control-Computed with the following code:

    Set objUser = GetObject _
        ("LDAP://host.domain.local/CN=John Doe,OU=Users,O=MyOrg,C=ca")
    Wscript.Echo "User account control computed: " & objUser.[msDS-User-Account-Control-Computed]

    which returns blank.

    Any insight into this? Any idea as to what might be missing for this to be computed and returned?

    Thanks!


    • Edited by Ritmo2k Thursday, March 01, 2012 3:02 PM
    •  

All Replies