node-adtool
v1.0.1
Published
Utility for creating active directory user accounts
Downloads
17
Readme
node-adtool
Node utility for modifying Active Directory
Usage
Requiring
const admod = require('node-admod');
Configuring
admod.config = {
"username" : "",
"password" : ""
};
Creating Accounts
admod.createUser(username, path)
Set Password
admod.setPassword(username, password)
Unlock a user account
admod.unlockUser(username)
Add a user to a group
admod.addUserToGroup(username, group)
Set an attribute to a user
admod.setAttribute(username, attribute, value)
Search for a user
admod.searchObjects(path)
Create an OU
admod.createOU(ou, path)
Credits
As this is a wrapper utility for adtool
, credits goto Mike Dawson ( mike at no spam gp2x.org )
His tool can be found at https://gp2x.org/adtool/
Contributing
- Create Pull Request
- Thanks!