Before having look at the code, I should mention my site collection has external sharing turned on and the "Allow external users who accept sharing invitations and sign in as authenticated users" option selected.
And here is the code:
Thanks for reading!
No comments:
Post a Comment