Highlighted
lJack Absent Member.
Absent Member.
1216 views

rename User ID

Hi everybody,

is there a possibility to rename a user ID of a local user?

Kind regards,

lJack
Tags (2)
0 Likes
5 Replies
e-ebell1 Absent Member.
Absent Member.

Re: rename User ID

lJack;2313669 wrote:
Hi everybody,

is there a possibility to rename a user ID of a local user?

Kind regards,

lJack

Unfortunately not.
You could do some hacks in the DB but you wouldn't want to do that.

Erik
0 Likes
pawelnowicki Absent Member.
Absent Member.

Re: rename User ID

To do it, you have to modify one JSP file first. Then it works.
Let me know if you want more details.

Regards
Pawel
0 Likes
preussja Absent Member.
Absent Member.

Re: rename User ID

I definitely would like more details. We currently have someone who is getting remarried and they really don't want their old user name (based on her previous last name) and we don't want to delete/recreate the account just for this change.
0 Likes
pawelnowicki Absent Member.
Absent Member.

Re: rename User ID

Ok, but you try it on your own risk! So try it better on test server first!

1. Edit the file apache-tomcat/webapps/WEB-INF/jsp/profile_entry_form.jsp and replace lines:

<c:if test="${!empty ssDefinitionEntry.name}">
<c:out value="${ssDefinitionEntry.name}"/>
</c:if>

with lines:

<c:if test="${!empty ssDefinitionEntry.name}">
<input type="text" size="40" name="name" id="name" class="ss_text" autocomplete="off"
onchange="ss_ajaxValidate(ss_checkTitleUrl, this, 'name', 'ss_titleCheck2');" value="<c:out value="${ssDefinitionEntry.name}"/>"/>
</c:if>

2. Stop Vibe

3. Clear cache: rm -R apache-tomcat/work/Catalina

4. Start Vibe

Now every user can change login name!

Regards
Pawel
0 Likes
preussja Absent Member.
Absent Member.

Re: rename User ID

Thanks for the info, I will definitely try it out on our test server first.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.