I am trying to get the user name from JAVA/CORBA classes of Lotus Domino. First see my sceanrio, I am logged in to server using a user account, and providing dbFileName(ie mailfile of user). I want to find out that this dbFile’s actul owner ie username of that user.
Subject: RE: Getting user name from Java/CORBA classe.
Hi Munish,
Can you tell some brief about profile document as I new to this concept. What is this ‘CalendarProfile’ and ‘UserName’. Actually what values should I pass here.
Sorry if it seems silly questions but plz help me out.
Subject: RE: Getting user name from Java/CORBA classe.
Hi Gaurav,
Profile documents are useful for collecting user-specific or database-specific values. Only one profile document per form can exist for each user of a database. Or, only one profile document can exist for a database if that form is available to all users. Profile documents allow for quick data retrieval, because they are cached while the database that stores them is open. Profile documents are like other database documents except they are somewhat invisible – they do not display in views and are not included in a document count for the database.
Calenderprofile is a profile document for mail database. It contains the field called “Owner” which lists down the name of the mail file owner.
Username will be the name of the person, whose mail file you want to access. eg. Session.getUserName()
Subject: RE: Getting user name from Java/CORBA classe.
Hello Gaurav,
When you do getProfileDocCollection retreives a profile documents associated with a profile form. so when you do that it retrieves current user’s profile document and no errors. and when you try to retrieve getProfileDocument of a specific user, so it restricts you to perform that as you might not have sufficient rights to perform the operation.