IEWSClientDelegateAccess Method (ExchangeDelegateUserCollection, String)

Delegates access on the mailbox to the specified users.

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

Parameters

delegateUsers
Type: Aspose.Email.Clients.Exchange.WebServiceExchangeDelegateUserCollection
A ExchangeDelegateUserCollection containing the users information and delegation settings.
mailbox
Type: SystemString
A mailbox to grant access on.
Exceptions
ExceptionCondition
AsposeArgumentNullExceptiondelegateUsers is null.
AsposeArgumentExceptionmailbox is null or empty.
See Also