Fórum

Not able find user created in user list

thumbnail
santosh shinde, modificado 8 Anos atrás.

Not able find user created in user list

New Member Postagens: 13 Data de Entrada: 21/12/13 Postagens Recentes
I am using Liferay 6.0 CE version in which i created users and assign roles to them.

But now I am not able to find user created by me in the user list emoticon i done re-indexing but still the problem is as it is emoticon No user found error message. If i creating new one its gives error user i.e. screenname already taken.
thumbnail
Sushil Patidar, modificado 8 Anos atrás.

RE: Not able find user created in user list

Expert Postagens: 467 Data de Entrada: 31/10/11 Postagens Recentes
Hi,

Created user by API? Check if user is activated or not.

Regards
thumbnail
santosh shinde, modificado 8 Anos atrás.

RE: Not able find user created in user list

New Member Postagens: 13 Data de Entrada: 21/12/13 Postagens Recentes
Yes i created user by both through API as well as through my portal but both cases user not displayed in user list.
I checked its both for active/de-active status while doing search for user i am getting same error message emoticon
thumbnail
Devang Patel, modificado 8 Anos atrás.

RE: Not able find user created in user list

Regular Member Postagens: 247 Data de Entrada: 19/01/15 Postagens Recentes
Hi santosh shinde,
Which error message did you get?
And do Reindex & DB cashe from control pannel->configuration->server administration->Reindex all search indexes & Clear Database cashe...
HTH.

Regards,
Devang Patel
thumbnail
santosh shinde, modificado 8 Anos atrás.

RE: Not able find user created in user list

New Member Postagens: 13 Data de Entrada: 21/12/13 Postagens Recentes
Dear Devang,

I am getting user created in Liferay table and able to access the same through our form designed by us to search user. But its not visible under Control Panel --users --search user option. Other users are visible but the user created by Administration through Control Panel. As suggested by you i done reindexing and Database cashe clear But still facing same issue.
thumbnail
Sushil Patidar, modificado 8 Anos atrás.

RE: Not able find user created in user list

Expert Postagens: 467 Data de Entrada: 31/10/11 Postagens Recentes
Hi,

Try to reindex from Control Panel>Apps>Liferay Core>Users and Organization rather than reindexing all.


Regards
thumbnail
Manish Yadav, modificado 8 Anos atrás.

RE: Not able find user created in user list

Expert Postagens: 493 Data de Entrada: 26/05/12 Postagens Recentes
santosh shinde:
Yes i created user by both through API as well as through my portal but both cases user not displayed in user list.
I checked its both for active/de-active status while doing search for user i am getting same error message emoticon


In case you are creating user using Liferay API ..
add below lines after adding user ,In order to reindex newly created user.


User user=UserLocalServiceUtil.addUser(<adduser>);
Indexer indexer = IndexerRegistryUtil.getIndexer(User.class);
indexer.reindex(user.getUserId());</adduser>


and delete files & Folders inside lucene folder and then restart server,it will create new indexes

<Liferay_Home>\data\lucene\*.*