Previous Topic: Active Directory Prerequisites

Next Topic: Group Type and Scope


The sAMAccountName Attribute

The sAMAccountName attribute applies to users and groups. This attribute is required, and must be included on task screens used to create users and groups.

Note: When creating users, the value of the sAMAccountName attribute cannot exceed 20 characters. This restriction does not apply to groups.

You can write a custom logical attribute handler that generates a unique sAMAccountName automatically when a user or group is created. In this case, you can include the sAMAccountName attribute as a hidden field on Create User and Create Group screens.

See the Logical Attributes chapter in the Programming Guide for Java for more information.