IEWSClientDelegateAccess Method (String, ExchangeDelegateFolderPermissionLevel, String)

Delegates access on the principal mailbox to the specified user.

Namespace:  Aspose.Email.Clients.Exchange.WebService
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 21.11
Syntax
void DelegateAccess(
	string delegateSmtpAddress,
	ExchangeDelegateFolderPermissionLevel permissionLevel,
	string mailbox
)

Parameters

delegateSmtpAddress
Type: SystemString
A primary smtp address of user.
permissionLevel
Type: Aspose.Email.Clients.Exchange.WebServiceExchangeDelegateFolderPermissionLevel
A permission level that is granted to the user on all folders.
mailbox
Type: SystemString
A mailbox to grant access on.
Exceptions
ExceptionCondition
AsposeArgumentExceptiondelegateSmtpAddress or mailbox is null or empty.
See Also