1 # The OrganizationalUnit Model
3 The OrganizationalUnit model extends from the base `Adldap\Models\Model` class and contains
4 no specific methods / attributes that are limited to it.
9 // Adldap\Models\OrganizationalUnit
10 $ou = $provider->make()->ou([
11 'name' => 'Workstation Computers',
14 // Generate the OU's DN through the DN Builder:
16 $dn = $ou->getDnBuilder();
18 $dn->addOu('Workstation Computers');
22 // Or set the DN manually:
24 $ou->setDn('ou=Workstation Computers,dc=test,dc=local,dc=com');