KIMAP::DeleteAclJob Class

Removes an identifier from the ACL of a mailbox. More...

Header: #include <KIMAP/DeleteAclJob>
CMake: find_package(KPim6IMAP REQUIRED)
target_link_libraries(mytarget PRIVATE KPim6::IMAP)
Inherits: KIMAP::AclJobBase

Public Functions

DeleteAclJob(KIMAP::Session *session)
virtual ~DeleteAclJob() override
QByteArray identifier()
void setIdentifier(const QByteArray &identifier)

Reimplemented Protected Functions

virtual void doStart() override

Detailed Description

This job can only be run when the session is in the authenticated (or selected) state.

The user must have the Acl::Admin permission on the mailbox for this job to succeed (see MyRightsJob).

This job requires that the server supports the ACL capability, defined in RFC 4314.

Member Function Documentation

[explicit] DeleteAclJob::DeleteAclJob(KIMAP::Session *session)

[override virtual noexcept] DeleteAclJob::~DeleteAclJob()

[override virtual protected] void DeleteAclJob::doStart()

QByteArray DeleteAclJob::identifier()

The identifier that will be removed

See also setIdentifier().

void DeleteAclJob::setIdentifier(const QByteArray &identifier)

Sets the identifier to remove

See also identifier().