NotesIDVault (LotusScript®)

The NotesIDVault class is a representation of the secure storage facility for UserIDs that may be configured for Domino by policy. IDs are stored there to allow for easier management by administrators and users. IDs from more than one server may be stored within an IDVault. The NotesIDVault class provides methods to access UserID files, UserID objects, query the presence of an ID in the vault, sycnronise copies of IDs, and reset passwords. The NotesIDVault class can be used to access UserID objects or files. These can be used to accomplish the encryption or decryption of Documents while running on the server .

Properties

ServerName

Methods

GetUserIDFile

PutUserIDFile

SyncUserIDFile

ResetUserPassword

IsIDInVault

GetUserID

Example

This code demonstrates how to access the NotesIDVault class from the NotesSession Class:

Dim session As New NotesSession
	Dim id As notesIDVault
	Dim bVault As Boolean
	Dim sn As String

	Set iv = session.getIDVault()
	
	Call id.getUserIDFile("c:/1.id", "test vault1/IBM", "12345", "TEST/IBM")
	
	Call id.syncUserIDFile("c:/2.id", "test vault1/IBM", "12345", "TEST/IBM")
	
	sn = id.Servername
	
	here = id.isIDInVault("test vault1", "TEST/IBM")

	If bVault Then
		Call id.resetUserPassword("test vault1/IBM", "67890", "TEST/IBM", 0)      
	End If	
	
		
	Call id.putIDFile("c:/3.id", "test vault2/IBM", "12345", "TEST/IBM")