Adldap\Schemas\SchemaInterface::organizationalPerson PHP Method

organizationalPerson() public method

This class is used for objects that contain organizational information about a user, such as the employee number, department, manager, title, office address, and so on.
public organizationalPerson ( ) : string
return string
    public function organizationalPerson();

Usage Example

Example #1
0
 /**
  * Creates a new computer instance.
  *
  * @param array $attributes
  *
  * @return Computer
  */
 public function computer(array $attributes = [])
 {
     return (new Computer($attributes, $this->query))->setAttribute($this->schema->objectClass(), [$this->schema->top(), $this->schema->person(), $this->schema->organizationalPerson(), $this->schema->user(), $this->schema->computer()]);
 }
SchemaInterface