Here we go. I have an agent written in LS called in the Notes client. In it, I use to SWITCHTOID method of the Notesregistration class to switch to another id. When I look at the value of the NotesSession’s properties while I debug, I can clearly see I’ve switched to the new id.
Then, I call the SIGN method of the Notesdatabase. From what I understand, this method is supposed to sign with the CURRENT userid which is, in my case, the new one I’ve just switched to.
For some strange and incomprehensible reason, the SIGN method signs all design elements with the PREVIOUS (!!) userid, behaving as if I had never switched! Even stranger, if the database I try to sign resides on a server, it works !! If it resides on a local hard disk (where I do most of my work), it fails!
I just don’t know what to think. ANY help is appreciated.