...
Info | ||
---|---|---|
| ||
This routine is available since starting with katl-commons 2.5.15 ( for JIRA Jira 5.x ) and 2.6.7 ( for JIRA Jira 6.x) . |
Syntax
...
ldapUserList(attributes, ldapQuery[, ldapName])
Description
...
Excerpt |
---|
Returns an array of the requested attributes for all users matching the query. This is a LDAP search routine. |
Parameters
...
Parameter name | Type | Required | Description |
---|---|---|---|
attributes | string [] | yes | the attributes to be returned |
ldapQuery | string | yes | the query |
ldapName | string | no | the LDAP server name, which you have configured. If missing, it directs the query to the default LDAP server. This parameter appears at version 4.0 |
Returns
...
string []
The values of the attributes, for all users, in multiples of N, where N is the number of requested attributes. The length of the returned array will be N x M (N = number of attributes requested, M = number of users matching the query), such that element at index i is the value of the attribute at position i%N from the attributes array, for the (i/N)th user matching the query.
...
Tip | ||
---|---|---|
You can use this routine with the User Group Picker PRO. Example script for SIL User Picker:
|
Notes
...
Note |
---|
LDAP must be configured (see LDAP Configurationconfiguration page). |
Warning |
---|
Only Microsoft Active Directory is supported at this time, but it might work with others as well (tested with OpenDS). To provide support for other LDAP types, please contact us. |
See
...
also
Filter by label (Content by label) | ||||||||
---|---|---|---|---|---|---|---|---|
|