How to bulk update all the user name in BO CMS database?

Hello Everyone,

How can we update all our user names in the cms database to employee ids without having an impact in the user’s BO profile (or account)?

It has been decided that in all our corporate systems including BO that we eliminate the use of user names like “jdoe” and replace it with corporate userids like “e10257”. Thus, in future Mr. John Doe will use “e10257” and not “jdoe” as user name to log into BO. However when he first logs in after the migration his account profile should be same and be able to view all the reports that were saved in the favorites and inbox.

We do not use single sign on or LDAP functionality and our log-in is purely handled by BO Enterprise.

Any recommendations or suggestions would be greatly appreciated.

Thanks in Advance


edyl (BOB member since 2005-10-03)

The only way I can think of is to create user alias and then disable the initial log in id.


icotler :us: (BOB member since 2002-08-19)

You could do it in some SDK code - find the current user name, update it with the other. That should not break anything, BO should be looking at the account by SI_ID under the covers.

I’ve done some SDK code to change universe short names, it’s not horrible - SQL type code to get to the right record, SDK update / commit methods from there.

If you don’t have a ton of users, CMC and a good typist might not be horrible…

B


bdouglas :switzerland: (BOB member since 2002-08-29)

It isn’t just about typing. You need their folders to go wtih them. Changing a user ID does not move it’s folders, does it?


Steve Krandel :us: (BOB member since 2002-06-25)

In XI the storage is no longer based on name - the folders should all be tied back to the user by the hidden IDs. I’ve renamed users that have left the company and been replaced by new folk (a lot, unfortunately) - they picked up all the documents of their counterparts. In 6.5 I would have had to go to the filesystem and do some renaming to finish up that process.

If you start messing with the SI_ID and SI_CUID (?), you’re in a heap of trouble, unless the repository is much smarter than I imagine.

B


bdouglas :switzerland: (BOB member since 2002-08-29)

I am not good with SDKs so i guess the manual approach is all I have left. But we have more 1000 users so its going to require some effort and without other viable option i guess i just have to type it in.

Thank you all so much for the suggestions.


edyl (BOB member since 2005-10-03)

If you have support, it’s “free” to call BO and see if they have anything to share - you may get lucky. Also, browse the SDK forum here, see if you can find something similar - a lot of the code is very much like SQL. Get your record set, update the object, commit, and continue - you may find you can do SDK.

Good luck!

Brent


bdouglas :switzerland: (BOB member since 2002-08-29)

My $0.02… reports should never ever be tied to a user account. Instead, they should be tied to a department or a function. For example, reports for Inventory Management or reports for P&L. Employees coming and going should never affect the reports.


substring :us: (BOB member since 2004-01-16)

I agree with substring. People leave and join groups all the time. Associations with Functional Areas rather than individual people is more streamlined and recommended. Another example is: stuppose employee E has scheduled report R to run everyday. If that employee leaves the company and their BOBJ account is disabled, the report’s daily schedule will get interrupted and fail to run any longer.

Thanks,

Nizar Nadeem
www.datamanagementgroup.com
“Transforming Data into Information”


niznad (BOB member since 2010-06-22)

Yeah…

For those of us in the real world who get to answer user needs rather than dictate them, that’s not always a possibility.

Especially given SAP’s decision that every user should have Full Control over their user folder.

I’d actually be curious to know how the renaming process went for stlman, though. Did you end up doing it by hand? Did it work? Any weirdness crop up?


Lugh (BOB member since 2009-07-16)

Lugh… I got a VBA script from BO which did a mass update. We did it using that script few days ago and so far its sailing smoothly.
:yesnod:


edyl (BOB member since 2005-10-03)

Could you share the code with us? We’re experiencing a similar issue. :oops:


dj_xero (BOB member since 2010-08-30)