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():smileywink:
{
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)){
...........................
}
}
}