Defining a Group with LDIF

Restriction: This topic applies only when the Enterprise Server feature is enabled.
Command Description

dn: cn=PAYROLL,CN=Enterprise Server User Groups,CN=Micro Focus,CN=Program Data,DC=local

Identifies group PAYROLL

changetype: delete

Action is set to delete, the current definition for group PAYROLL will be deleted

 

You must leave a blank line between actions

dn: cn=PAYROLL,CN=Enterprise Server User Groups,CN=Micro Focus,CN=Program Data,DC=local

Identifies group PAYROLL

changetype: add

Action is set to add

adminDisplayName: Payroll group

Display Name

objectClass: microfocus-MFDS-Group

Object class, we are defining a Group

microfocus-MFDS-UID: no

UID (Unique Identifier). Use mfuid as the value

description: People who can process Payroll

Description for the group

microfocus-MFDS-Group-Member: SEC01

User SEC01 is part of the group

microfocus-MFDS-Group-Member: SEC02

More than one user can be added to the group

microfocus-MFDS-Group-Member: group AUDITORS

Groups can now be included in other groups. All the members of the AUDITORS group will also belong to the PAYROLL group. Be sure to use the group keyword when specifying a group member.