Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: thanks12
  • Content: Threads
  • Order by date
  1. thanks12

    Disable user in AD

    Can someone guide me how to disable the user instead of delete the user Sub DelUser Dim objOU Set objOU = GetObject(strOU) objOU.Delete "User", "cn=" & strUserCN & "" ' instead of delete, I need to disable user Set ObjOU = Nothing strUserCN = "" End Sub

Part and Inventory Search

Back
Top