Events.Calendar.allowedEntityTypes
----------------------------------

Returns the entity types this calendar can contain.

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

MBS( "Events.Calendar.allowedEntityTypes"; EKCalendar ) 

**MBS**( **"Events.Calendar.allowedEntityTypes";** /\* Returns the entity types this calendar can contain. \*/  
**$EKCalendar**) /\* The identifier or name of the calendar.e.g. $calendar \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| EKCalendar | The identifier or name of the calendar. | $calendar |

### Result

Returns value or error.

### Description

Returns the entity types this calendar can contain.   
While Apple API only allows creation of single-entity calendars, other servers might allow mixed-entity calendars.  
Returns list which can contain Event and/or Reminder.  
### Examples

Queries entities types by ID:

 MBS ( "Events.Calendar.allowedEntityTypes"; "51AC6CC1-C4AB-40D0-BB30-A8AAFB280ABD")  
This function checks for a license.

Created 10th March 2016 , last changed 22nd May 2016

  
[Events.Calendar.Subscribed](EventsCalendarSubscribed.md) - [Events.Calendar.supportedEventAvailabilities](EventsCalendarsupportedEventAvailabilities.md)

[HTML Version](EventsCalendarallowedEntityTypes.shtml)