掲示板

Not able find user created in user list

thumbnail
8年前 に santosh shinde によって更新されました。

Not able find user created in user list

New Member 投稿: 13 参加年月日: 13/12/21 最新の投稿
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
8年前 に Sushil Patidar によって更新されました。

RE: Not able find user created in user list

Expert 投稿: 467 参加年月日: 11/10/31 最新の投稿
Hi,

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

Regards
thumbnail
8年前 に santosh shinde によって更新されました。

RE: Not able find user created in user list

New Member 投稿: 13 参加年月日: 13/12/21 最新の投稿
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
8年前 に Devang Patel によって更新されました。

RE: Not able find user created in user list

Regular Member 投稿: 247 参加年月日: 15/01/19 最新の投稿
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
8年前 に santosh shinde によって更新されました。

RE: Not able find user created in user list

New Member 投稿: 13 参加年月日: 13/12/21 最新の投稿
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
8年前 に Sushil Patidar によって更新されました。

RE: Not able find user created in user list

Expert 投稿: 467 参加年月日: 11/10/31 最新の投稿
Hi,

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


Regards
thumbnail
8年前 に Manish Yadav によって更新されました。

RE: Not able find user created in user list

Expert 投稿: 493 参加年月日: 12/05/26 最新の投稿
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\*.*