LDAPObject

Represents object received from LDAP during synchronization. Available as $ldapObject in the Hook::LDAPSynchronization script. Attributes description, email, fullName, loginName and phoneNumber are writable: changes made by the script are used for the synchronized user or group (assigning a non-string value clears the attribute).

Instance attributes

description: String

Description

email: String

E-mail

fullName: String

Full name

id: String

Value of the LDAP attribute configured as unique user or group ID (null if not configured or not present)

isGroup: bool

true if object is a group

isUser: bool

true if object is a user

loginName: String

Login name

phoneNumber: String

Phone number

type: String

String that represents type. One of: group, user, other