Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.
'If there is still an available Host record and the Host is disabled in AD, lets disable it on the database if not already. ElseIf IsDBNull(objRecordSet.Fields("distinguishedName").Value) = False And IsDBNull(objRecordSet.Fields("description").Value) = False Then While Not objRecordSet.EOF Dim objAccount As ADODB.Recordset = GetObject("LDAP://" & objRecordSet.Fields("distinguishedName").Value) If objAccount.AccountDisabled Then ' Connect to DB and set the Status field to "Disabled" and ' the Flag(soon to be DaysOffline) field to 29 days. Dim sqlCon As New SqlClient.SqlConnection Dim sqlCom As New SqlClient.SqlCommand sqlCon.ConnectionString = My.Settings.ConnectionString Try
|Need ideas on how to better approach the comparison of two different databases tables and show all the differences in a report.||18||80|
|How do I add bookmarks to PDF using iTextSharp in Visual Studio||2||32|
|Change data in datatable||8||15|
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
21 Experts available now in Live!