... ob du überhaupt Zugriff hast fragst du wie folgt ab...
Dim session As New NotesSession
Dim db As NotesDatabase
Dim server As String
Dim dbName As String
Dim Level As Integer
server = ""
dbName = "DBName.nsf"
Set db = session.GetDatabase( server, dbName )
If db.isOpen Then
Level = db.CurrentAccessLevel
If Level = 0 Then
Msgbox "Kein Zugriff",0,server +" - " + dbName
Elseif Level = 1 Then
Msgbox "Archivar - Einlieferer",0,server +" - " + dbName
Elseif Level = 2 Then
Msgbox "Leser",0,server +" - " + dbName
Elseif Level = 2 Then
Msgbox "Autor",0,server +" - " + dbName
Elseif Level = 2 Then
Msgbox "Editor",0,server +" - " + dbName
Elseif Level = 2 Then
Msgbox "Entwickler",0,server +" - " + dbName
Elseif Level = 2 Then
Msgbox "Manager",0,server +" - " + dbName
End If
Else
Msgbox "Sauerei - die Datenbank existert nicht...",0,server +" - " + dbName
End If
ata