Active domain: Can I check userAccoutControl property with ADS_UF_ACCOUNTDISABLE to judge if a computer has quit domain? RRS feed

  • 问题

  • Recently I was develop with IADs and I want to enum assets in a domain.

    When one of the domain member quit domain I can see in the domain controller the computer's icon has an downward arrow.

    And I check properties in ADSI only userAccoutControl property is changed.

    So I wonder if I can use this flag to check if an computer was not in domain already.

    • 已移动 Helen Zhao 2012年7月26日 6:20 (发件人:Visual C++)
    2012年7月25日 9:52