Moyosoft Products | Services | Download | Contact us    
Java Outlook Connector
Products  >  Java Outlook Connector  >  API Reference    
API Reference
   
Overview  |  
Classic JavaDoc

Outlook.getSharedDefaultFolder

public OutlookFolder getSharedDefaultFolder(OutlookRecipient pRecipient, FolderType pFolderType)

Returns the specified default folder for the specified user. This method is used in a delegation scenario, where one user has delegated access to another user for one or more of their default folders (for example, their shared Calendar folder).

Returns:
OutlookFolder object

Throws:
ComponentObjectModelException   if any COM error occurs.

Community comments


Creating a recipient
Vote up  |  Vote down
To create the OutlookRecipient object required by this method, use the following:

Outlook outlook = new Outlook();

OutlookRecipient recipient = outlook.createRecipient("john");
recipient.resolve();

// Call getSharedDefaultFolder...



Powered by JavaDocPlus