Home > Ask the Domino Experts > Domino Development Questions & Answers > How can I delete users from the NAB using a LotusScript agent or actions on a database?
Ask The Domino Expert: Questions & Answers
EMAIL THIS

How can I delete users from the NAB using a LotusScript agent or actions on a database?

Andre Guirard EXPERT RESPONSE FROM: Andre Guirard

Pose a Question
Other Domino Categories
Meet all Domino Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 27 June 2003
How can I delete users from the NAB using a LotusScript agent or actions on a database?

>
Use a Notes 6 server and client. If you're going to be doing a lot of this stuff it makes sense to upgrade at least one machine just so that you can write programs to automate it. Use the NotesAdministrationProcess class, DeleteUser method.

In Notes 5, you can use the NotesDocument.Remove method in the Domino Directory, but that doesn't clean up user mail files, add them to deny lists, remove them from other groups and so on. What you really need to do is not just remove the users, but activate the adminp functions to clean up after them.

In R5, you could perhaps write (or copy from somewhere else) code to create adminp request documents, but I don't have such code handy myself. The best way to see what fields are in these requests is to experiment: turn off adminp, use the administrator client to create a request, and then go into the administration requests database on the server and see what fields are in it.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Domino Development
Can I create and copy Microsoft Excel spreadsheets with LotusScript?
'Illegal circular use: Audit Trail' error when opening Lotus Notes docs
How to make computed fields recalculate
Sending and logging faxes from Lotus Notes and Domino
Accessing documents in a Lotus Notes database
Adding an action to the Lotus Notes right-click menu
Writing temporary text files that email as attachments
Trapping the on-click event of a radio button
Copying a form object using LotusScript
Connecting to a remote DB2 server with LEI

Lotus Domino Directory
LotusScript button updates email addresses in Lotus Notes PAB
Find a Lotus Notes user within NAB Deny Access groups
Troubleshoot Lotus Notes Out of Office (OOO) agent error messages
Create a computed Lotus Notes field to list Personal Address Book names
Domino Directory management tips and tutorials
How to correct Lotus Notes public key mismatches in four easy steps
How to automatically create a backup copy of your Domino Directory
Address book that was added to server doesn't show up on client
JavaScript Domino directory name validation
Get all members of Domino Directory Group

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



Lotus Notes Domino on Blackberry and mobile devices
HomeTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersDomino IT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts