Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Project Folder reassignment between users

Status
Not open for further replies.

devinev

Technical User
Jan 12, 2006
4
US
I have a requirement to reassign project folders from one user to another and then deleting the original user. I have been asked to do accomplish this using LAPI VB .NET. Does anybody have the code to do this or who may be able to help insofar as the steps I need to take to accomplish this task.
Thanks
 
What do you mean by livelink project folders

a)A project as in the english word,indicating somebody in your organization was keeping documents catalogued in a folder and therby "owning" those objects.
or
b)A livelink project object (it can have folders as well) the most powerful user/group being its coordinator.


In either case re-assigning objects to other user/group in the livelink system does not need coding and is available as a power user function.

Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937
 
By livelink project folder I am referring to a livelink project object/coordinator situation. We know it can be accomplished by a power user but we wish to accomplish it programmatically subsequent to some other processing. Can this be done?

Thanks,
 
I have not done this but I belive it could be done.You may have to research a little bit or post in the KB.Livelink projects are still objects so you can do lapi getObjectinfo.You may have to write an iterator of your own for its children(I assume you know the negative volumeid etc with projects).This is to tackle permissions on the child objects because even project objects within a project can be permissioned to livelink groups.

the co-ordinator,member and guest are entries in UserTables so I belive you ***can*** manipulate them using UAPI methods.However I am not sure.

The NDA I observe does not allow me to tell you the relation,but if you have the schema book or access to a dev livelink,you probably can piece it together.

The easy way would be to wait for somebody who has done this before.

Also I don't think you can remove the "roles" of the project perhaps if 'X' was co-ordinator before you could make that 'Y' but I don't think that you can eliminate the 'Coordinator' role


Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937
 
Are you trying to change the Co-Ordinator of a Project from User A to User B ? If so, I would recommend making the Co-Ordinator a Livelink Group rather than assigning a user directly.

This will mean that you will only have to update the membership of the Group which is much easier and better documentated than trying to interact with the Project object.

Greg Griffiths
Livelink Certified Developer & ECM Global Star Champion 2005
 
Thanks for your input. Based on the information provided I will research a little more and try and determine the best route to go.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top