IEWSClient.DelegateAccess

DelegateAccess(string, ExchangeDelegateFolderPermissionLevel, string)

Delegates access on the principal mailbox to the specified user.

public void DelegateAccess(string delegateSmtpAddress, 
    ExchangeDelegateFolderPermissionLevel permissionLevel, string mailbox)
ParameterTypeDescription
delegateSmtpAddressStringA primary smtp address of user.
permissionLevelExchangeDelegateFolderPermissionLevelA permission level that is granted to the user on all folders.
mailboxStringA mailbox to grant access on.

Exceptions

exceptioncondition
AsposeArgumentExceptiondelegateSmtpAddress or mailbox is null or empty.

See Also


DelegateAccess(ExchangeDelegateUser, string)

Delegates access on the specified mailbox to the specified user.

public void DelegateAccess(ExchangeDelegateUser delegateUser, string mailbox)
ParameterTypeDescription
delegateUserExchangeDelegateUserA ExchangeDelegateUser containing user information and delegation settings.
mailboxStringA mailbox to grant access on.

Exceptions

exceptioncondition
AsposeArgumentNullExceptiondelegateUser is null.
AsposeArgumentExceptionmailbox is null or empty.

See Also


DelegateAccess(ExchangeDelegateUserCollection, string)

Delegates access on the mailbox to the specified users.

public void DelegateAccess(ExchangeDelegateUserCollection delegateUsers, string mailbox)
ParameterTypeDescription
delegateUsersExchangeDelegateUserCollectionA ExchangeDelegateUserCollection containing the users information and delegation settings.
mailboxStringA mailbox to grant access on.

Exceptions

exceptioncondition
AsposeArgumentNullExceptiondelegateUsers is null.
AsposeArgumentExceptionmailbox is null or empty.

See Also