SSH.GetUserName
---------------

The user name we got authenticated for.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [SSH](component_SSH.md) | [6.3](newinversion63.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "SSH.GetUserName"; SSH ) 

**MBS**( **"SSH.GetUserName";** /\* The user name we got authenticated for. \*/  
**$SSH**) /\* The SSH session reference number from the plugin. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| SSH | The SSH session reference number from the plugin. | $ssh |

### Result

Returns user name or error.

### Description

The user name we got authenticated for.  
This function is free to use.

Created 29th May 2016 , last changed 29th May 2016

  
[SSH.GetTimeout](SSHGetTimeout.md) - [SSH.HostKey](SSHHostKey.md)

[HTML Version](SSHGetUserName.shtml)