IEWSClientCloseAccess Method (ExchangeDelegateUserCollection, String)

Closes access on the specified mailbox for the specified user.

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

Parameters

delegateUsers
Type: Aspose.Email.Clients.Exchange.WebServiceExchangeDelegateUserCollection
A delegate users.
mailbox
Type: SystemString
A mailbox.
Exceptions
ExceptionCondition
AsposeArgumentNullExceptiondelegateUsers is null.
AsposeArgumentExceptionmailbox is null or empty.
See Also