Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Description

Excerpt
hiddentrue

Returns an array of the requested attributes for all users matching the query.

Returns an array of the requested attributes for all users matching the query. This is an LDAP search routine.

...

Code Block
languagejs
struct mystruct { 
         string cn;
         string uid;
     }
     mystruct [] arr = ldapUserList ( {"cn", "uid"}, "objectClass=inetOrgPerson");
     //now you can access it by:
     string x = arr[0].cn; //life is better, huh ?
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)
showLabelsfalse
max25
showSpacefalse
cqllabel = "system_routine" and space = currentSpace ( )
labelsarray_routines