Directory Services

User Management

This section contains code examples that can be used to add and manage users on a domain.

When you setup a user object, set several user properties on the object at the same time. For example, there are several flags in the userAccountControl property that are used to control the user password behavior, account lockout, account enable and disable, the home directory, and the type of account that the user has. Several code examples in this section show how to set flags for the userAccountControl. There are also some samples for setting the properties displayed in the System Administrator property pages for each user.

For more information about properties that can be set on the user object during creation, see Creating a User.

The following topics are provided in this section: