WebView.Passwords.Install
-------------------------

Installs the plugin functions which watch for password requests on a WebViewer.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [WebView](component_WebView.md) | [6.3](newinversion63.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

MBS( "WebView.Passwords.Install"; WebViewerRef ) 

**MBS**( **"WebView.Passwords.Install";** /\* Installs the plugin functions which watch for password requests on a WebViewer. \*/  
**$WebViewerRef**) /\* Either the Web Viewer Object Name or the Web Viewer ID as returned by "[WebView.FindByName](WebViewFindByName.md)" function.e.g. "web" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| WebViewerRef | Either the Web Viewer Object Name or the Web Viewer ID as returned by "[WebView.FindByName](WebViewFindByName.md)" function. | "web" |

### Result

Returns OK or error.

### Description

Installs the plugin functions which watch for password requests on a WebViewer.  
The plugin keeps a list of passwords and provides them to WebViewer on request.  
  
The standard password dialog may not show up. So on use this for automated website loading.  
Our password feature is for HTTP Authentication, not for login forms.  
  
Supported for WebKit 2.x (FileMaker 16 Mac) with plugin version 7.3.  
### Examples

Set password and open webpage asking for it:

 Set Variable \[$r ; Value:MBS ("WebView.Passwords.Install"; "web")\]  
Set Variable \[$r ; Value:MBS ("[WebView.Passwords.Set](WebViewPasswordsSet.md)"; "192.168 .2.103 "; "admin"; "webcam123")\]  
Set Web Viewer \[Object Name: "web"; URL: "http://192.168 .2.103 /main.htm"\]  
### See also

- [WebView.FindByName](WebViewFindByName.md)
- [WebView.Passwords.Clear](WebViewPasswordsClear.md)
- [WebView.Passwords.Set](WebViewPasswordsSet.md)

### Release notes

- **Version 13.2**
    - Fixed a bug for [WebView.Passwords.Install](https://www.mbsplugins.eu/WebViewPasswordsInstall.shtml) not installing the event.
- **Version 7.3**
    - Added support for FileMaker 16 for [WebView.Passwords.Install](http://www.mbsplugins.eu/WebViewPasswordsInstall.shtml) function.

### Example Databases

- [WebViewer/Web Password](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/WebViewer/Web%20Password.shtml#2ScriptAnchor_)

### Blog Entries

- [MBS FileMaker Plugin, version 13.2pr4](https://www.mbsplugins.de/archive/2023-04-25/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 7.3pr1](https://www.mbsplugins.de/archive/2017-06-05/MBS_FileMaker_Plugin_version_7/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 6.3pr4](https://www.mbsplugins.de/archive/2016-06-24/MBS_FileMaker_Plugin_version_6/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 24th June 2016 , last changed 2nd November 2021

  
[WebView.Passwords.Clear](WebViewPasswordsClear.md) - [WebView.Passwords.Set](WebViewPasswordsSet.md)

[HTML Version](WebViewPasswordsInstall.shtml)