IEWSClient.CloseAccess

CloseAccess(string, string)

Closes access on the specified mailbox for the specified user.

public void CloseAccess(string delegateSmtpAddress, string mailbox)
ParameterTypeDescription
delegateSmtpAddressStringA primary smtp address of delegate user.
mailboxStringA mailbox.

Exceptions

exceptioncondition
AsposeArgumentExceptiondelegateSmtpAddress or mailbox is null or empty.

See Also


CloseAccess(ExchangeFolderUserInfo, string)

Closes access on the specified mailbox for the specified user.

public void CloseAccess(ExchangeFolderUserInfo userInfo, string mailbox)
ParameterTypeDescription
userInfoExchangeFolderUserInfoA user information.
mailboxStringA mailbox.

Exceptions

exceptioncondition
AsposeArgumentNullExceptionuserInfo is null.
AsposeArgumentExceptionmailbox is null or empty.

See Also


CloseAccess(ExchangeDelegateUser, string)

Closes access on the specified mailbox for the specified user.

public void CloseAccess(ExchangeDelegateUser delegateUser, string mailbox)
ParameterTypeDescription
delegateUserExchangeDelegateUserA delegate user.
mailboxStringA mailbox.

Exceptions

exceptioncondition
AsposeArgumentNullExceptiondelegateUser is null.
AsposeArgumentExceptionmailbox is null or empty.

See Also


CloseAccess(ExchangeDelegateUserCollection, string)

Closes access on the specified mailbox for the specified user.

public void CloseAccess(ExchangeDelegateUserCollection delegateUsers, string mailbox)
ParameterTypeDescription
delegateUsersExchangeDelegateUserCollectionA delegate users.
mailboxStringA mailbox.

Exceptions

exceptioncondition
AsposeArgumentNullExceptiondelegateUsers is null.
AsposeArgumentExceptionmailbox is null or empty.

See Also