Add an AD LDS Group to the Directory
Updated: December 30, 2008
Applies To: Windows Server 2008, Windows Server 2008 R2, Windows Server 2012
You can administer users and groups in Active Directory Lightweight Directory Services (AD LDS) through the ADSI Edit snap-in or through your directory-enabled applications. For information about users and groups in AD LDS, see Understanding AD LDS Users and Groups.
To create users in AD LDS, you must first import the optional user classes that are provided with AD LDS into the AD LDS schema. These user classes are provided in importable .ldf files, which you can find in the directory %windir%\adam on the computer where AD LDS is installed.
Membership in the Administrators group of the AD LDS instance is the minimum required to complete this procedure. By default, the security principal that you specify as the AD LDS administrator during AD LDS setup becomes a member of the Administrators group in the configuration partition. For more information about AD LDS groups, see Understanding AD LDS Users and Groups.
To add an AD LDS group to the directory
Open ADSI Edit.
Connect and bind to the AD LDS instance to which you want to add a group. For more information, see Use ADSI Edit to Manage an AD LDS Instance.
In the console tree, double-click the directory partition to which you want to add the group.
In the console tree, right-click the container to which you want to add the group, point to New , and then click Object .
In Select a class , click Group , and then click Next .
In Value , type a common name (CN) for the new group, and then click Next .
If you want to set values for additional attributes, click More attributes .
After setting all the desired attributes for the new group, click Finish .
To open ADSI Edit, on a computer with the AD LDS server role installed, click Start , click Administrative Tools , and then click ADSI Edit .
When you type a value for the groupType attribute, 2147483650 (equivalent to 0x80000002 hexadecimal) represents a group type of "account."
You can also perform the task in this procedure by using the Active Directory module for Windows PowerShell. To open the Active Directory module, click Start , click Administrative Tools , and then click Active Directory Module for Windows PowerShell . For more information, see Add an AD LDS Group to the Directory (http://go.microsoft.com/fwlink/?LinkId=137810). For more information about Windows PowerShell, see Windows PowerShell (http://go.microsoft.com/fwlink/?LinkID=102372).