Has anyone used the session.GetUserPolicySettings method to retrieve policy information?
I’m trying to retrieve archive policy information. I’ve tried the example in the Designer help, but it doesn’t seem to work. I run debugger on the following code and the doc object is null still.
Sub Initialize
Dim session As New NotesSession
Dim doc As NotesDocument
Dim msg As String
Set doc = session.GetUserPolicySettings(“ServerName/MYDOM”, _
“”, POLICYSETTINGS_ARCHIVE, “/Corporate Arcive Settings for MYDOM”)
msg = “test”
Messagebox msg, “Setup policy for /MYDOM”
End Sub