Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 525 Bytes

File metadata and controls

16 lines (10 loc) · 525 Bytes
description Automatically generated file. DO NOT MODIFY
// Code snippets are only available for the latest version. Current version is 6.x

GraphServiceClient graphClient = new GraphServiceClient(requestAdapter);

PersonAnnualEvent personAnnualEvent = new PersonAnnualEvent();
personAnnualEvent.setAllowedAudiences(EnumSet.of(AllowedAudiences.Contacts));
PersonAnnualEvent result = graphClient.me().profile().anniversaries().byPersonAnnualEventId("{personAnnualEvent-id}").patch(personAnnualEvent);