Zum Inhalt

.SetCalendarPermission (.azureclient Objektmethode)

Beschreibung

Grants one recipient a role on the calendars of the given users. Use ShareCalendars to set the role for everybody in the organisation instead. Errors are not raised in Opus, they are written to the log.

Argumente

Name

Typ

Beschreibung

UserPrincipalNames

string[]

list of Azure user principal names whose calendar permissions are set

RecipientEmailAddress

string

e-mail address of the recipient to whom the permission is granted

CalendarRoleType

integer

role granted to that recipient:
0 = None (no access)
1 = FreeBusyRead (free/busy only)
2 = LimitedRead (free/busy plus subject and location)
3 = Read
4 = Write
5 = DelegateWithoutPrivateEventAccess
6 = DelegateWithPrivateEventAccess
7 = Custom.
The values are those of the Microsoft Graph type calendarPermission.calendarRoleType. Values outside 0 to 7 are passed on to Graph unchanged and are rejected there.

Rückgabewert void

Kein Rückgabewert

Beispiel

xxx

Siehe auch