Thx again for your help.
It returns me nothing... I have totally no idea why!
var db:NotesDatabase = session.getDatabase('', 'names.nsf');
var vw:NotesView = db.getView('$VIMPeople');
var userDoc:NotesDocument = vw.getDocumentByKey('Administrator/ChrisOrg', true);
var userFunc:String = userDoc.getItemValueString('Title');
return userFunc;
I tried changing 'names.nsf' to something else, this generates an error in db.getView => This indicates me that the NotesDatabase is OK
Then I changed the '$VIMPeople', this generates an error on getDocumentByKey=> This indicates me that the getView is OK
Then I changed the 'Administrator/ChrisOrg', this generates an error on getItemValueString => This indicates me that the getDocumentByKey is OK
Changing 'Title' did nothing, no errors!
But now I'm sure that the begin of my code is OK...
Thx