Adldap\Schemas\SchemaInterface::objectGuid PHP Method

objectGuid() public method

The unique identifier for an object.
public objectGuid ( ) : string
return string
    public function objectGuid();

Usage Example

Example #1
0
 /**
  * Convert the object into something JSON serializable.
  *
  * @return array
  */
 public function jsonSerialize()
 {
     // We need to remove the object SID and GUID from
     // being serialized as these attributes contain
     // characters that cannot be serialized.
     return Arr::except($this->getAttributes(), [$this->schema->objectSid(), $this->schema->objectGuid()]);
 }
SchemaInterface