AnsweredAssumed Answered

Get Immutable Properties of LDAP with java alfresco service

Question asked by 4535992 on Apr 20, 2018
Latest reply on Apr 23, 2018 by 4535992

Hi, i need to retrieve the immutable properties of ldap on the users of alfresco, with some java service of alfresco:

 

For example:

//GET ALL USERNAME
PagingResults<PersonInfo> users = personService.getPeople("*", new ArrayList<QName>(), new ArrayList<Pair<QName,Boolean>>(), new PagingRequest(personService.countPeople()));
            logger.info("The number of users in the system" + personService.countPeople());
            for(;users.hasMoreItems();)
            {
                for(PersonInfo personInfo : users.getPage()) {
                    String authority = personInfo.getUserName();

                    //HOW RETRIEVE THE IMMMUTABLE PROPERTIES LDAP INFORMATIONS

                   

                    //MY GOAL IS RETRIEVE IF THE USER DERIVED FROM A LDAP

                    if(userDerivedFromLdap(personInfo)){

                                 ...........................

                     }

               }

            }

Outcomes