com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class ExchangeBasePermission

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      protected int permissionSet
      Specifies a user permission level.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      boolean canCreateItems()
      Gets or sets a value indicating whether a client can create items in a folder.
      void canCreateItems(boolean value)
      Gets or sets a value indicating whether a client can create items in a folder.
      boolean canCreateSubFolders()
      Gets or sets a value indicating whether the client can create subfolders.
      void canCreateSubFolders(boolean value)
      Gets or sets a value indicating whether the client can create subfolders.
      int getDeleteItems()
      Gets or sets a value indicating whether the client can delete items.
      int getEditItems()
      Gets or sets a value indicating whether a client can edit items.
      ExchangeFolderUserInfo getUserInfo()
      Gets or sets a user or a delegate user who has folder access permissions
      boolean isFolderContact()
      Gets or sets a value indicating whether a user is a contact for a folder.
      boolean isFolderOwner()
      Gets or sets a value indicating whether the user is the owner of a folder.
      boolean isFolderVisible()
      Gets or sets a value indicating whether a user can view a folder.
      void setDeleteItems(int value)
      Gets or sets a value indicating whether the client can delete items.
      void setEditItems(int value)
      Gets or sets a value indicating whether a client can edit items.
      void setFolderContact(boolean value)
      Gets or sets a value indicating whether a user is a contact for a folder.
      void setFolderOwner(boolean value)
      Gets or sets a value indicating whether the user is the owner of a folder.
      void setFolderVisible(boolean value)
      Gets or sets a value indicating whether a user can view a folder.
      void setUserInfo(ExchangeFolderUserInfo value)
      Gets or sets a user or a delegate user who has folder access permissions
    • Field Detail

      • permissionSet

        protected int permissionSet

        Specifies a user permission level. The responsibility of bits: 0 - IsFolderVisible 1 - ReadItems 2 - CanCreateItems 3, 4 - DeleteItems 5, 6 - EditItems 7 - CanCreateSubFolders 8 - IsFolderContact 9 - IsFolderOwner 10 - FreeBusyTimeOnly 11 - FreeBusyTimeAndSubjectAndLocation

    • Constructor Detail

      • ExchangeBasePermission

        protected ExchangeBasePermission(ExchangeFolderUserInfo userInfo)

        Initializes a new instance of the ExchangeBasePermission class

        Parameters:
        userInfo - Specifies a user or a delegate user who has folder access permissions
        Throws:
        ArgumentNullException - userInfo is null
    • Method Detail

      • getUserInfo

        public final ExchangeFolderUserInfo getUserInfo()

        Gets or sets a user or a delegate user who has folder access permissions

        Throws:
        ArgumentNullException - value is null
      • setUserInfo

        public final void setUserInfo(ExchangeFolderUserInfo value)

        Gets or sets a user or a delegate user who has folder access permissions

        Throws:
        ArgumentNullException - value is null
      • canCreateItems

        public final boolean canCreateItems()

        Gets or sets a value indicating whether a client can create items in a folder.

      • canCreateItems

        public final void canCreateItems(boolean value)

        Gets or sets a value indicating whether a client can create items in a folder.

      • canCreateSubFolders

        public final boolean canCreateSubFolders()

        Gets or sets a value indicating whether the client can create subfolders.

      • canCreateSubFolders

        public final void canCreateSubFolders(boolean value)

        Gets or sets a value indicating whether the client can create subfolders.

      • isFolderOwner

        public final boolean isFolderOwner()

        Gets or sets a value indicating whether the user is the owner of a folder.

      • setFolderOwner

        public final void setFolderOwner(boolean value)

        Gets or sets a value indicating whether the user is the owner of a folder.

      • isFolderVisible

        public final boolean isFolderVisible()

        Gets or sets a value indicating whether a user can view a folder.

      • setFolderVisible

        public final void setFolderVisible(boolean value)

        Gets or sets a value indicating whether a user can view a folder.

      • isFolderContact

        public final boolean isFolderContact()

        Gets or sets a value indicating whether a user is a contact for a folder.

      • setFolderContact

        public final void setFolderContact(boolean value)

        Gets or sets a value indicating whether a user is a contact for a folder.

      • getEditItems

        public final int getEditItems()

        Gets or sets a value indicating whether a client can edit items.

      • setEditItems

        public final void setEditItems(int value)

        Gets or sets a value indicating whether a client can edit items.

      • getDeleteItems

        public final int getDeleteItems()

        Gets or sets a value indicating whether the client can delete items.

      • setDeleteItems

        public final void setDeleteItems(int value)

        Gets or sets a value indicating whether the client can delete items.