ActiveDirectoryLibCreateUserAccount Method ACDLib API Documentation
Creates a user account within the selected active directory object

Namespace: Inkostar.Classes
Assembly: ACDLib (in ACDLib.dll) Version: 1.0.1.0 (1.0.1.0)
Syntax

public ActiveDirectoryUserObject CreateUserAccount(
	ActiveDirectoryObject rootObject,
	string account,
	string password,
	bool forceChangePassword
)

Parameters

rootObject
Type: Inkostar.ClassesActiveDirectoryObject
The active directory object or container where the new account will be created
account
Type: SystemString
The user account name
password
Type: SystemString
The user account password
forceChangePassword
Type: SystemBoolean
A boolean value, when set to True will force the new user to change the password at next logon

Return Value

Type: ActiveDirectoryUserObject
The ActiveDirectoryUserObject user account instance created
See Also

Reference