IAdmExchangeMailboxPermission
The IAdmExchangeMailboxPermission interface represents an access permission for an Exchange mailbox.
Inheritance: IUnknown
To modify access rights for an Exchange mailbox, you need to create a new instance of the IAdmExchangeMailboxPermission interface. To do this, you need to call the default constructor of the AdmExchangeMailboxPermission class that implements the interface.
How
- PowerShell
-
[Reflection.Assembly]::LoadWithPartialName("Softerra.Adaxes.Adsi") $mailboxPermission = New-Object ` "Softerra.Adaxes.Adsi.Exchange.AdmExchangeMailboxPermission"
- C#
-
using Softerra.Adaxes.Interop.Adsi; using Softerra.Adaxes.Adsi; using Softerra.Adaxes.Interop.Adsi.Exchange; using Softerra.Adaxes.Interop.Adsi.PersistentObjects; class Program { static void Main(string[] args) { AdmExchangeMailboxPermission mailboxPermission = new AdmExchangeMailboxPermission(); } }
Properties
-
Property
-
Description
-
AllowedRights
-
Gets or sets the permissions allowed to the current trustee.
-
InheritedAllowedRights
-
Gets inherited permissions allowed to the current trustee.
-
DeniedRights
-
Gets or sets the permissions denied to the current trustee.
-
InheritedDeniedRights
-
Gets inherited permissions denied to the current trustee.
-
Trustee
-
Gets or sets the trustee for whom the permissions are specified.
Details
AllowedRights
Gets or sets the permissions allowed to the current trustee.
- Type:
- ADM_EXCHANGE_MAILBOX_RIGHTS_ENUM
- Access:
- Read/Write
InheritedAllowedRights
Gets inherited permissions allowed to the current trustee.
- Type:
- ADM_EXCHANGE_MAILBOX_RIGHTS_ENUM
- Access:
- Read-only
DeniedRights
Gets or sets the permissions denied to the current trustee.
- Type:
- ADM_EXCHANGE_MAILBOX_RIGHTS_ENUM
- Access:
- Read-only
InheritedDeniedRights
Gets inherited permissions denied to the current trustee.
- Type:
- ADM_EXCHANGE_MAILBOX_RIGHTS_ENUM
- Access:
- Read/Write
Trustee
Gets or sets the trustee for whom the permissions are specified.
- Type:
- IAdmObjectReference
- Access:
- Read/Write
Requirements
Minimum required version: 2013.1