Previous Topic: Create a Static Group

Next Topic: Setting Up Static Directory Roles

Add a Member to a Static Group

A static group is a directory entry that contains a list of the members of that group.

If the group has the object class groupOfNames or groupOfUniqueNames, the members are stored in the attribute member or uniqueMember.

These are multi-valued attributes, and there is no limit to the number of members a static group can have. However, a group with too many entries is very slow to update. We recommend that you use dynamic groups for very large groups.

To add a user to a group, add the user's DN to the member or uniqueMember attribute.

Example: Add Two Entries to a Static Group

In this example, two users are given the role AdminFinance.

add-entry-req
entry = <countryName "AU">
	<organizationName "Democorp">
	<organizationalUnitName "Roles">
	<commonName "AdminFinance">
contents = {
	(objectClass groupOfNames )
	(member <c au><o Democorp><ou Clerical><cn "Noelene Correa">,<c au><o Democorp><ou Finance><ou Budgets><cn "Linda Deacon"> )
};