IADsUser Property: AccountDisabled

Property Name
AccountDisabled

Property Type
Variant_Bool

Description
Indicates whether an account is or should be disabled.

Example

Dim UserObject As IADsUser
Set UserObject = GetObject("NTDS://DomainName/UserName")
Debug.Print UserObject.AccountDisabled

 

See Also