Events.RequestFullAccessToEvents
--------------------------------

Prompts people to grant or deny read and write access to event data.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Events](component_Events.md) | [14.1](newinversion141.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "Events.RequestFullAccessToEvents" ) ### Parameters

none

### Result

Returns Wait, OK or error.

### Description

Prompts people to grant or deny read and write access to event data.  
Requesting access to an event store asynchronously prompts people for permission to use their data. The operating system only prompts them the first time your app requests full access to events; any subsequent instantiations of EKEventStore uses existing permissions.  
  
You can later check status with [Events.AuthorizationStatusForEntityType](EventsAuthorizationStatusForEntityType.md).  
The function may return OK if access is granted directly or Wait if user will be asked.  
  
Your app isn’t blocked while the person decides to grant or deny permission. Because they may deny permission, your app should handle cases where it doesn’t receive access to the event store.  
  
Requires macOS 14.0 or iOS 17.0 or newer.  
### Examples

Request access for events:

 Set Variable \[$r ; Value: MBS ( "Events.RequestFullAccessToEvents" ) \]  
### See also

- [Events.AuthorizationStatusForEntityType](EventsAuthorizationStatusForEntityType.md)
- [Events.RequestFullAccessToReminders](EventsRequestFullAccessToReminders.md)
- [Events.RequestWriteOnlyAccessToEvents](EventsRequestWriteOnlyAccessToEvents.md)

### Release notes

- **Version 14.1**
    - Added [Events.RequestFullAccessToEvents](https://www.mbsplugins.eu/EventsRequestFullAccessToEvents.shtml), [Events.RequestFullAccessToReminders](https://www.mbsplugins.eu/EventsRequestFullAccessToReminders.shtml) and [Events.RequestWriteOnlyAccessToEvents](https://www.mbsplugins.eu/EventsRequestWriteOnlyAccessToEvents.shtml) functions.

### Blog Entries

- [New in MBS FileMaker Plugin 14.1](https://www.mbsplugins.de/archive/2024-03-19/New_in_MBS_FileMaker_Plugin_14/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 14.1pr1](https://www.mbsplugins.de/archive/2024-02-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 17th January 2024 , last changed 25th January 2024

  
[Events.RequestAccessToEntityType](EventsRequestAccessToEntityType.md) - [Events.RequestFullAccessToReminders](EventsRequestFullAccessToReminders.md)

[HTML Version](EventsRequestFullAccessToEvents.shtml)