Directory.Entries operation returns error 404 when I am connecting with a user different to the Administrator

Hello,

I want to get entries of directory so that I used the Directory.Entries operation but I faced this problem :

  • When I am connected with the Administrator account, the operation worked fine (look at “connectingAdministrator.png” picture) but when I am connected with an user account that has a ReadWrite permission, the operation returns 404 (look at “connectWithUserReadWritePermission.png”) So I could not use the Directory.Entries operation with a no Administrator account, any idea to solve this problem?

Regards,

0 votes

1 answers

1003 views

ANSWER



You have to use Directory.SuggestEntries operation

1 votes



Well, thank you :)
08/27/2021