Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Content Management (Extended ECM)
API, SDK, REST and Web Services
Transferring Ownership of items in LL
Scott_Herman_(webmadmin_-_(deleted))
On another discussion group in the Knowledge Center I did find code that works on changing ownership from a deleted user, but I don't want to transfer the deleted user's personal workspace. Sometimes the new owner's personal space is replaced with the deleted user's personal space. Do you know of code that will transfer all files except the person's personal workspace? Thanks.Code I found in the Knowledge Center posted by Bo Warburton (bo@opentext.com):Here is a series of SQL commands that will help pull out the ID of a user that has been deleted and change the ownership of objects to Admin, or any other user of your choice. You could use this as the basis for a LiveReport and a click-through sub-report.1) Get the ID numbers of deleted usersselect ID from KUAF where name like 'deleted_user%';-or-select name from KUAF where deleted=1;2) Change the ownership of objectsupdate DTree set CreatedBy=1000 and UserID=1000 where CreatedBy={result from #1}3) Change other tables that have info on the creator of the fileupdate DVersData set Owner=1000 where Owner={result from #1}
Find more posts tagged with
Comments
x-unileveruser11_-_(deleted)
If you run the following Query, this will list all the Personal Workspaces - as an aside, you can use the creation date to match to the creation date of the user - this will then give you the ID of their PW as long as they haven't renamed it :select * from dtree where name like "%Home%"Once you have the the ID, just add an :AND WHERE dtree.dataid<> [ the dataid of the PW]and this should exclude the PW from the 2nd query.
eLink User
Message from Bax Ruud, F.C. via eLinkThis is not the best way to do it:- The 'like'-statement can be quite intensive on performance- Users can rename their Personal WorkspaceYou'd better select/exclude on the subtype of a Personal Workspace in DTREE(being 142)Met vriendelijke groet / With kind regards,Ingenieursbureau Oranjewoud BVAfdeling Informatisering & AutomatiseringRuud Bax, ICT-specialist intranet toepassingenMarktweg 73APostbus 24 NL-8440 AA HeerenveenTel. +31 (0)513 - 634 863Fax +31 (0513) - 634 895GSM +31 (0)6 - 10812551e-mail mailto:ruud.bax@oranjewoud.nlinternet:
http://www.oranjewoud.nl>
; -----Oorspronkelijk bericht-----> Van: eLink Discussion: Livelink LiveReports Discussion> [SMTP:livereportsdiscussion@elinkkc.opentext.com]> Verzonden: dinsdag 2 april 2002 10:29> Aan: eLink Recipient> Onderwerp: Changes> > Changes> Posted by UnileverUser11 on 04/02/2002 04:28 AM> > If you run the following Query, this will list all the Personal Workspaces> - as an aside, you can use the creation date to match to the creation date> of the user - this will then give you the ID of their PW as long as they> haven't renamed it :> > select * from dtree where name like "%Home%"> > Once you have the the ID, just add an :> > AND WHERE dtree.dataid<> [ the dataid of the PW]> > and this should exclude the PW from the 2nd query.> > [To reply to this thread, use your normal e-mail reply function.]> > ============================================================> > Topic: Transferring Ownership of items in LL>
https://knowledge.opentext.com/knowledge/livelink.exe?func=ll&objId=269379>
; 2&objAction=view> > Discussion: Livelink LiveReports Discussion>
https://knowledge.opentext.com/knowledge/livelink.exe?func=ll&objId=224967>
; 7&objAction=view> > Livelink Server:>
https://knowledge.opentext.com/knowledge/livelink.exe>
; > ****************************************************************************This e-mail and any files transmitted with it are confidential and intendedsolely for the use of the individual or entity to whom they are addressed.If you have received this e-mail in error, please notifypostmaster@oranjewoud.nlThis footnote also confirms that this e-mail message has been checked byMcAfee Groupshield for the presence of computer viruses.****************************************************************************