...
Note |
---|
Starting with katl-commons 3.0, this syntax is deprecated and you should use the new alias name: ldapUserAttr instead. |
Info | ||
---|---|---|
| ||
This routine is available starting with katl-commons 1.0, changed in 1.1.15 for Jira 4.3.x/4.4.x and katl-commons 2.0.8 for Jira 5.x. |
...
ldapUserRecord(attrib, ldapQuery)
or (deprecated form)
ldapUserRecord(attrib, cn, dn, memberof, email, ldapObjectClass)
Description
Excerpt |
---|
Returns an array of the requested attribute. This is a LDAP search routine. |
The second
...
routine syntax is more comfortable. Both get the LDAP record and shows the attribute of that user
...
. Returned user must be unique, otherwise exception occurs
...
.
Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
attrib | string | yes | the attribute to be returned |
ldapQuery | string | yes | the query, must return exactly one result |
...