advertisement

Find Code  Advanced Search   

Free Newsletters:   
browse free vb code
Submit Code
ASP,  HTML, and XML
Database
Dates  and Math
Files  and Directories
Forms  and Controls
Lists,  Collections, and Arrays
Miscellaneous
Multimedia/Games
Office/VBA
Network/Internet
Registry
Screen/Graphics
String  Manipulation
System/API
Windows  2000/XP
VB.NET/ASP.NET



advertisement
Check if a User Account (ADSI or NT) is Disabled (VB Script)

Author: Rowen Bankx
Category: Network/Internet
Type: Snippets
Difficulty: Beginning

Version Compatibility:  VB Script/HTML  

More information: This script checks whether an account is disalbed or not. It can be either an ADS (Active Directory Service, Win2000) account or SAM (NT4) account . It uses ADSI to accomplish this. Check out http://www.activxperts.com for more samples, components and tools

This code has been viewed 82417 times.

Instructions: Copy the declarations and code below and paste directly into your VB project.


Declarations:

Code:

No Text Boxes

Sponsored Links