API Reference
| Classic JavaDoc |
OutlookFolder.getPermissions
public int getPermissions()
Returns the permissions of the folder.
This method is only available in the Professional edition of Java Outlook Connector.
Example:
This method is only available in the Professional edition of Java Outlook Connector.
Example:
int permissions = folder.getPermissions(); if((permissions & OutlookFolder.PERMISSION_READ) != 0) { // Permission to read items } if((permissions & OutlookFolder.PERMISSION_DELETE) != 0) { // Permission to delete items } if((permissions & OutlookFolder.PERMISSION_CREATE_CONTENTS) != 0) { // Permission to create items } if((permissions & OutlookFolder.PERMISSION_CREATE_HIERARCHY) != 0) { // Permission to create subfolders }
Community comments
Powered by JavaDocPlus