Examples: SwitchToID method
This agent switches to USER.ID.
Sub Initialize
Dim session As New NotesSession
Dim reg As New NotesRegistration
reg.RegistrationServer = "AceOne"
Call reg.SwitchToID("user.id", _ ' ID file
"AceHardware") ' ID password
End Sub