I am using UserPrincipal to create a new user in AD, however I cannot set the 'office' field. This is an application using asp.net core 2.2
I believe it should be called 'PhysicalDeliveryOfficeName', but it doesn't exist as part of UserPrincipal:
UserPrincipal usr = new UserPrincipal(ctx);usr.GivenName = givename;usr.Surname = surname;usr.PhysicalDeliveryOfficeName = "New York"; //not foundusr.Save();
How can I set this field?