The UserID files of the users are attached to their documents in the address book. (domino directory). Is there a way to remove the ID files from there. Just like “cut” or “delete”. Thanks in advance.
Subject: Detaching UserID file from the domino directory(address book)
If you give them the default author access to the Domino Directory. They would be removed by the setup process if they do a client setup.If you don’t want to do this then you’ll have to remove them yourself.
Subject: RE: Detaching UserID file from the domino directory(address book)
Martin,
I am not an IT expert. I am just auditing the department.
The IT dept told me that they tried but they coudlnt remove them.
Since it is hard to give access to all th eusers, I was wondering the steps to remove them by the IT people.
I will be more then pleased if you can help me.
Subject: RE: Detaching UserID file from the domino directory(address book)
Marcus Please don’t take this the wrong way, but if I was you I would really consider getting a Notes Administrator consultant in before doing anything. I would be concerned about the stability and security of the whole environment before I allowed admins that may not understand how to administer a system to run or change anything. Such questions as are there confirmed backups are important?
If security is that important to your company, do yourself, the admins and the company a favor and get some help from someone that knows what they are doing. I think for short money you would be able to get someone to come in and do a basic review of your environment.
Just my 2 cents, take it for what it is worth.
Subject: RE: Detaching UserID file from the domino directory(address book)
found this in another forum. credit to the author, Vihay Khanna
ADDRESS BOOK
LotusScript to detach userid files from address book
Vijay Khanna
05.05.2003
Rating: -4.00- (out of 5)
I was faced with a tricky issue of detaching all users id files from address book and saving them on hard disk. Also I had to delete the id files from address book after the copy.
This script Renames the users id files as Shortname_Firstname_Lastname.id and stores them in c:attach folder. Remember to make the folder before executing the script.
This method also logs the names of all persons for which it has detached the id’s.
Code
Sub Initialize
Dim currentLog As New NotesLog( “Script log” )
Call currentLog.OpenFileLog( “c:attachlog.txt” )
Dim s As New notessession
Dim db As notesdatabase
Set db = s.currentdatabase
Dim doc As notesdocument
Dim view As notesview
Dim object As NotesEmbeddedObject
Set view = db.getview(“People”)
Set doc = view.getfirstdocument
Dim vc As NotesViewEntryCollection
Set vc = view.AllEntries
Set object = doc.GetAttachment( “userid” )
Messagebox vc.count
For i = 2 To vc.count
Set object = doc.GetAttachment( “userid” )
If ( object Is Nothing ) Then
Call currentLog.LogAction( "UN_Successfull : " &doc.shortname(0) & “:” &doc.FirstName(0) & “:” & doc.LastName(0))
Set doc = view.GetNthDocument(i)
Else
Call currentLog.LogAction( "Successfull : " & doc.shortname(0) & “:” &doc.FirstName(0) & “:” & doc.LastName(0))
Call object.ExtractFile ( “c:Attach” & doc.shortname(0) & “" &doc.FirstName(0) & "” & doc.LastName(0) & “.id”)
Call object.Remove
Call doc.save(True,True)
Set doc = view.GetNthDocument(i)
End If
Next
Messagebox “finished”
Call currentLog.Close
End Sub