Frage

I am using webdav to get a list of files, create folders, etc.. which require the user name and password inside the request. (all working well)
But I want to know if there is a way to perform only log in, without any additional action?
Just to make sure the user name and password are valid, and have access to SharePoint (in my case)
Maybe there is something like getting user's information? just as a test..

War es hilfreich?

Lösung

You can use a HEAD or OPTIONS request for this purpose. Just include the credentials and you'll get a 401 if they're not valid.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top