Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
SSH.IsAuthenticated
Queries the authentication state.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| SSH | 6.3 | Yes | Yes | Yes | Yes | Yes |
Parameters
| Parameter | Description | Example |
|---|---|---|
| SSH | The SSH session reference number from the plugin. | $ssh |
Result
Returns state or error.
Description
Queries the authentication state.Returns 1 if authenticated or 0 if not.
Examples
Check status:
If [ MBS( "SSH.IsAuthenticated"; $ssh ) ≠ 1 ]
Show Custom Dialog [ Title: "Authentication"; Message: "no authenticated. Supported ways: " & $authuserlist; Default Button: “OK”, Commit: “Yes”; Button 2: “Cancel”, Commit: “No” ]
End If
See also
Example Databases
Created 29th May 2016, last changed 21st December 2020
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins