0

I have been using EnsureUser to ensure a user has been added to the site users before granting them access programmatically. This has worked fine in the past but now I am trying to use the script on a different farm and it is failing to find any users that are in Active directory but not present in the site users list. If the user is present in the site users list then ensure user works as expected. Any ideas why this might be happening?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.