IEWSClientDelegateAccess Method (ExchangeDelegateUser, String)

Delegates access on the specified mailbox to the specified user.

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

Parameters

delegateUser
Type: Aspose.Email.Clients.Exchange.WebServiceExchangeDelegateUser
A ExchangeDelegateUser containing user information and delegation settings.
mailbox
Type: SystemString
A mailbox to grant access on.
Exceptions
ExceptionCondition
AsposeArgumentNullExceptiondelegateUser is null.
AsposeArgumentExceptionmailbox is null or empty.
See Also