Hi all,
I have developed a tool which requires users having write access for a folder stored on a sharepoint. While all users have read access, not all of them are able to write. Therefore my tool should check first if they have write access.
I did find some code on the intranet, but this only works on "normal" network drives. Ideally the code should give me a "TRUE" if the user does have Write Access and "FALSE" if he doesn't.
What I have tried so far was the "cancheckout" command, but this gives me a TRUE regardless of read or write access. Another alternative is to create a textfile on sharepoint - and delete it again afterwards, but this was not really performant.
The folder path, which I need to check would be in the following format:
Does anyone have an idea how to do this?
Regards
Theo
Bookmarks