Aspose::Email::Clients::Exchange::ExchangeBasePermission Class Reference

Provides abstract base class for permissions to folders on Exchange Server. More...

Inherits Object.

Inherited by Aspose::Email::Clients::Exchange::ExchangeCalendarPermission, and Aspose::Email::Clients::Exchange::ExchangeFolderPermission.

Public Member Functions

System::SharedPtr< ExchangeFolderUserInfoget_UserInfo () const
 Gets a user or a delegate user who has folder access permissions More...
 
void set_UserInfo (System::SharedPtr< ExchangeFolderUserInfo > value)
 Sets a user or a delegate user who has folder access permissions More...
 
bool get_CanCreateItems ()
 Gets a value indicating whether a client can create items in a folder. More...
 
void set_CanCreateItems (bool value)
 Sets a value indicating whether a client can create items in a folder. More...
 
bool get_CanCreateSubFolders ()
 Gets a value indicating whether the client can create subfolders. More...
 
void set_CanCreateSubFolders (bool value)
 Sets a value indicating whether the client can create subfolders. More...
 
bool get_IsFolderOwner ()
 Gets a value indicating whether the user is the owner of a folder. More...
 
void set_IsFolderOwner (bool value)
 Sets a value indicating whether the user is the owner of a folder. More...
 
bool get_IsFolderVisible ()
 Gets a value indicating whether a user can view a folder. More...
 
void set_IsFolderVisible (bool value)
 Sets a value indicating whether a user can view a folder. More...
 
bool get_IsFolderContact ()
 Gets a value indicating whether a user is a contact for a folder. More...
 
void set_IsFolderContact (bool value)
 Sets a value indicating whether a user is a contact for a folder. More...
 
ExchangeFolderPermissionAction get_EditItems ()
 Gets a value indicating whether a client can edit items. More...
 
void set_EditItems (ExchangeFolderPermissionAction value)
 Sets a value indicating whether a client can edit items. More...
 
ExchangeFolderPermissionAction get_DeleteItems ()
 Gets a value indicating whether the client can delete items. More...
 
void set_DeleteItems (ExchangeFolderPermissionAction value)
 Sets a value indicating whether the client can delete items. More...
 

Protected Member Functions

 ExchangeBasePermission (System::SharedPtr< ExchangeFolderUserInfo > userInfo)
 Initializes a new instance of the ExchangeBasePermission class More...
 

Protected Attributes

int32_t 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 More...
 

Friends

class Aspose::Email::Clients::Exchange::ExchangeCalendarPermission
 
class Aspose::Email::Clients::Exchange::ExchangeFolderPermission
 

Detailed Description

Provides abstract base class for permissions to folders on Exchange Server.

Constructor & Destructor Documentation

◆ ExchangeBasePermission()

Aspose::Email::Clients::Exchange::ExchangeBasePermission::ExchangeBasePermission ( System::SharedPtr< ExchangeFolderUserInfo userInfo)
protected

Initializes a new instance of the ExchangeBasePermission class

Parameters
userInfoSpecifies a user or a delegate user who has folder access permissions
Exceptions
ArgumentNullExceptionuserInfo is null

Member Function Documentation

◆ get_CanCreateItems()

bool Aspose::Email::Clients::Exchange::ExchangeBasePermission::get_CanCreateItems ( )

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

◆ get_CanCreateSubFolders()

bool Aspose::Email::Clients::Exchange::ExchangeBasePermission::get_CanCreateSubFolders ( )

Gets a value indicating whether the client can create subfolders.

◆ get_DeleteItems()

ExchangeFolderPermissionAction Aspose::Email::Clients::Exchange::ExchangeBasePermission::get_DeleteItems ( )

Gets a value indicating whether the client can delete items.

◆ get_EditItems()

ExchangeFolderPermissionAction Aspose::Email::Clients::Exchange::ExchangeBasePermission::get_EditItems ( )

Gets a value indicating whether a client can edit items.

◆ get_IsFolderContact()

bool Aspose::Email::Clients::Exchange::ExchangeBasePermission::get_IsFolderContact ( )

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

◆ get_IsFolderOwner()

bool Aspose::Email::Clients::Exchange::ExchangeBasePermission::get_IsFolderOwner ( )

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

◆ get_IsFolderVisible()

bool Aspose::Email::Clients::Exchange::ExchangeBasePermission::get_IsFolderVisible ( )

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

◆ get_UserInfo()

System::SharedPtr<ExchangeFolderUserInfo> Aspose::Email::Clients::Exchange::ExchangeBasePermission::get_UserInfo ( ) const

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

Exceptions
ArgumentNullExceptionvalue is null

◆ set_CanCreateItems()

void Aspose::Email::Clients::Exchange::ExchangeBasePermission::set_CanCreateItems ( bool  value)

Sets a value indicating whether a client can create items in a folder.

◆ set_CanCreateSubFolders()

void Aspose::Email::Clients::Exchange::ExchangeBasePermission::set_CanCreateSubFolders ( bool  value)

Sets a value indicating whether the client can create subfolders.

◆ set_DeleteItems()

void Aspose::Email::Clients::Exchange::ExchangeBasePermission::set_DeleteItems ( ExchangeFolderPermissionAction  value)

Sets a value indicating whether the client can delete items.

◆ set_EditItems()

void Aspose::Email::Clients::Exchange::ExchangeBasePermission::set_EditItems ( ExchangeFolderPermissionAction  value)

Sets a value indicating whether a client can edit items.

◆ set_IsFolderContact()

void Aspose::Email::Clients::Exchange::ExchangeBasePermission::set_IsFolderContact ( bool  value)

Sets a value indicating whether a user is a contact for a folder.

◆ set_IsFolderOwner()

void Aspose::Email::Clients::Exchange::ExchangeBasePermission::set_IsFolderOwner ( bool  value)

Sets a value indicating whether the user is the owner of a folder.

◆ set_IsFolderVisible()

void Aspose::Email::Clients::Exchange::ExchangeBasePermission::set_IsFolderVisible ( bool  value)

Sets a value indicating whether a user can view a folder.

◆ set_UserInfo()

void Aspose::Email::Clients::Exchange::ExchangeBasePermission::set_UserInfo ( System::SharedPtr< ExchangeFolderUserInfo value)

Sets a user or a delegate user who has folder access permissions

Exceptions
ArgumentNullExceptionvalue is null

Friends And Related Function Documentation

◆ Aspose::Email::Clients::Exchange::ExchangeCalendarPermission

◆ Aspose::Email::Clients::Exchange::ExchangeFolderPermission

Member Data Documentation

◆ permissionSet

int32_t Aspose::Email::Clients::Exchange::ExchangeBasePermission::permissionSet
protected

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