Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
LDAP import user error due to duplicate screen name
hi
i use liferay 7.4.2 ga3 with ldap.
it's connected and works, but it's always throws exception as follows:
com.liferay.portal.kernel.exception.UserScreenNameException$MustNotBeDuplicate: Screen name ueclap458$ must not be duplicate but is already used by user 59098
i use email to auth, and yes, some user's screen name will duplicate, is there any passable to stop this exception?
thank you
In Liferay, screen names must be unique. Among others, they can be used to construct a user's personal profile page, which has a URL containing the screen name - and that only works if one screen name denotes one user.
You'd have to deduplicate the screen name - either by coming up with a different source for it on the LDAP side, by customizing the import process to handle duplicated ones, or other means
Powered by Liferay™