blob: 80aae9f4728fa9a2e0fb2bde1ba6d6c5cd01ec17 [file] [log] [blame]
Matthias Andreas Benkard7b2a3a12021-08-16 10:57:25 +02001<?php
2
3namespace LdapRecord\Models\ActiveDirectory;
4
5class OrganizationalUnit extends Entry
6{
7 /**
8 * The object classes of the LDAP model.
9 *
10 * @var array
11 */
12 public static $objectClasses = [
13 'top',
14 'organizationalunit',
15 ];
16
17 /**
18 * Get the creatable RDN attribute name.
19 *
20 * @return string
21 */
22 public function getCreatableRdnAttribute()
23 {
24 return 'ou';
25 }
26}