Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.


Delete Bulk Users

Delete Bulk Users

What is the best way to delete bulk users? My install is 10.0. I was considering a LAPI call, but I'm unfamiliar in the language. Does anyone have a LAPI to delete bulk users?

RE: Delete Bulk Users

what is your version of Livelink Server ? LAPI is in a deprecated state and what client programming language do you intend to use
If you are new to LAPI see my postings here also I would advise you to just use WSAPI or CWS as they call it

If you are going to do this with LAPI these are the things you will run into
1)A very hard time finding the LAPI SDK these are the references that your code java or .net has to reference
2)In compatibility of lapi,VJ++ redistributable on many 64 bit things
3)LAPI gives everything IN/OUT as LLValue you will have to figure out its type and how to use it

A long time back when LAPI was active I had staged plenty of lapi code one of them was a bulk create user,all it would take is to change the call to a delete.

If you have Web Reports in your anvil this is next to trivial.

I just saw the Version in 10 LAPI will still work so here's how I would do it if WR was not there

1)Create a CSV file of all the userID's that you wish to delete.Note when you delete a user wherever this user was showing up in user and groups will show it as deleted I think,also his personal workspace may have to be cleaned.
2)In some C# or Java file throw the lapi references and see if you can get to livelink see examples
3)Take one username or userid of your csv and see using lapi you can find the user record.
4)Delete that user using a lapi method(intellisense will show you what you have to use)
5)If one delete is successful read the csv in a loop(google plenty of examples)

Here's an awesome WSAPI code to do member stuff

Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937
Certified OT Developer,Livelink ECM Champion 2008,Livelink ECM Champion 2010

RE: Delete Bulk Users

I'm on version 10. We don't have webservers installed yet. We are disabling user after Active Directory sync and want to bulk delete the disabled users. We haven't turned on delete with AD sync due to we lost connection with AD and it deleted over 1000 users. What do you suggest?

RE: Delete Bulk Users

Webservices run on webservers(typically co hosted with IIS where your livelink server website is running 10 minutes for a right administrator) or something separate like in a Tomcat both are very trivial things to a livelink admin.This deploying of webservices just gives you a method to download those proxies(in lapi world you were putting that in your program that kind).So once this webservices is done just go to this link and download and play with the OT provided samples thay are excllent beginner material.

AF as you AD deleting stuff AD did not ,someone in your organization could have changed the query that is usually the result set provider to the livelink many companies would keep the synchronization to just disable the users(less expensive if a AD cockup happens).Similar things are available with the new OTDS as well.

I am surprised that your org does not have WR I almost thought universally everyone has it.

Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937
Certified OT Developer,Livelink ECM Champion 2008,Livelink ECM Champion 2010

RE: Delete Bulk Users

Sorry I meant Webservices. Yes, we do have web reports.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close