Contents

denyRequesters(_:)

Denies access requests from specified users.

Declaration

func denyRequesters(_ requesters: [CKShare.AccessRequester])

Parameters

Discussion

Use this method to deny pending access requests from uninvited users. CloudKit removes denied requesters from the requesters array. To persist the changes, save the share to the server after calling this method.

After denial, requesters can still submit new access requests unless explicitly blocked using blockRequesters(_:).

Only the share owner or an administrator can invoke this method. Attempts by other participants result in an exception.