ShellBrowser Delphi Components Documentation
|
Checks if authentication is required to access the given path and shows a login dialog if necessary.
class function Authenticate(const pPath: string; pInteractive: Boolean = True): HResult;
Parameters |
Description |
const pPath: string |
The path that should be checked. |
pInteractive: Boolean = True |
Optional, default True. Pass True if dialogs may be shown to enter credentials; pass False if only stored credentials should be used but a UI is unwanted. |
HResult: An error code if authentication was not successful or the path cannot be accessed, NO_ERROR otherwise.