Rename a username in a names field

Hi Experts,

Is it possible to rename a person that resides in a names field, using the adminp process ?

I have a application that's using a name field to define a group of people. When somebody in this group is renamed using adminp, his name will not be renamed in this group. I don't want to change it to a author field (so the adminp will process the renaming).

Any solutions for this ?

Greetings,

Bob
LVL 1
oosterbaanAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

HemanthaKumarCommented:
Not names field, But for readers and Authors YES.

Do it manually by running an agent to look in this names field and replace it with the new name. It is easy to do in Formula language.

eg:

@Replace( NamesField; "Old Name"; "New Name");

~Hemanth
oosterbaanAuthor Commented:
Hi Heman~

But how can I get a list of people that are renamed from the adminp process. The agent you suggest needs input ?

Greetings,

Bob
HemanthaKumarCommented:
Yes, it needs input. If you don't want to change the names field to authors and let adminp take care of it then you have to take this rambling path..

What you should do is change the data type of the names field to authors and run toolsrefreshselecteddocs to grab the type change and then kick off adminp to act
Learn Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

oosterbaanAuthor Commented:
Hi Heman,

Maybe I don't understand what you mean, but I don't want to change the names field to a author's field. I don't want to let these users become a author of the document.

Isn't there a method to get a grip on the adminp process, when it's start acting on the database ?

Bob
HemanthaKumarCommented:
nope, that is the problem. Notes doesn't need to change those fields (text or names) which doesn't impact the security. So you are stuck with this. Let me see if I can find any tool to help you solve this issue.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
qwaleteeCommented:
You could write a complicated C API program that hooks into your admin4.nsf and looks for rename requests, and fixes teh field you want.  But that's a huge investment.

You can turn it into a smaller but still big project by scanning admin4.nsf with an agent to do the same thing.

But I just want to know: is this really a problem?!?!?  How many users are there that you have frequent enough rename requests to require you to have an automated process to handle it, instead of an exception basis?
qwaleteeCommented:
One other wy to trap this.  Renames are done most frequently by pressing an action button in the address book.  You can modify that action button.  It own't help if the rename is done via the Domino Administrator's ools -> People -> Rename
oosterbaanAuthor Commented:
Hi qwaletee,

Renaming isn't exceptional here )-: People move a lot between departments...

I was afraid for the comments from the experts on my question,  because also I have tried to find a solution for this, whitout any result. Maybe I leave it like this and do it manually.

Thx for your response !

Bob
qwaleteeCommented:
You guys may want to think your ID/cert hierarchy.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Lotus IBM

From novice to tech pro — start learning today.