Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 549 Bytes

File metadata and controls

17 lines (11 loc) · 549 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);

UserAccountInformation userAccountInformation = new UserAccountInformation();
userAccountInformation.setAllowedAudiences(EnumSet.of(AllowedAudiences.Organization));
userAccountInformation.setCountryCode("NO");
UserAccountInformation result = graphClient.me().profile().account().post(userAccountInformation);