Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | ldapUserAttr(attrib, ldapQuery[, ldapName]) | Package | ldap | Alias | ldapUserRecord(attrib, ldapQuery) - Deprecated//deprecated | Pkg Usage | userAttr(attrib, ldapQuery[, ldapName]) | |
...
Returns an array of the requested attribute. This is an LDAP search routinefunction. It gets the LDAP record and shows the attribute of that user. Returned user must be unique otherwise exception occurs. You can retrieve any attribute defined in the scheme.
...
Open DS Example
Code Block |
---|
|
string email = ldapUserAttr("mail", "(&(uid=user.1)(objectClass=inetOrgPerson))");
string address = ldapUserAttr("postalAddress", "(&(uid=user.1)(objectClass=inetOrgPerson))"); |
Note |
---|
LDAP must be configured. See LDAP configuration page. Only Microsoft Active Directory is supported at this time, but it might work with other as well (tested with OpenDS). To provide support for other LDAP types contact us. |
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "system_routinefunction" and space = currentSpace ( ) |
---|
labels | array_routinesfunctions |
---|
|