Mobile Connect for macOS 5.0
- Mobile Connect for macOS 5.0
- Introduction to Mobile Connect
- Installing and Connecting
- Preferences and URL Control
- Monitoring, Logs, and Troubleshooting
- SonicWall Support
Using the addprofile Command
The addprofile
command requires either the name or server parameter, and accommodates both. All other parameters are optional. When the URL is opened in Mobile Connect, all of the parameters included in the URL are saved in the connection entry associated with that name and server.
Syntax for addprofile
mobileconnect://addprofile[/]?name=ConnectionName&server=ServerAddress
[&Parameter1=Value&Parameter2=Value...]
Command parameter | Description |
name
|
The unique name of the VPN connection entry that is created and appears in the Mobile Connect Connections list. Mobile Connect accepts the name only if it is unique. Letters are case sensitive. |
server
|
The domain name or IP address of the SonicWall appliance to which you wish to connect. For example: vpn.example.com |
username
|
Optional: The username used in the VPN connection. |
password
|
Optional: The password used in the VPN connection. |
realm
|
Optional: The realm used in the VPN connection profile. Applies to SMA 1000 Series connections only. |
domain
|
Optional: The domain used in the VPN connection profile. Applies to SMA 100 Series and Firewall connections only. |
sessionid
|
Optional: The session ID or Team ID used for authentication. |
connect
|
Optional: If presented and the value is non-null, the connection is initiated if the profile was successfully added. |
callbackurl
|
Optional: The callback URL to be opened by Mobile Connect after the addprofile command has been processed. See Using the callbackurl Command Parameter for full details of the callback URL syntax and options. |
Examples of the addprofile command
mobileconnect://addprofile/?name=Example&server=vpn.example.com
sonicwallmobileconnect://addprofile/?name=Example&server=vpn.example.com
mobileconnect://addprofile?name=Example%202&server=vpn.example.com
mobileconnect://addprofile?name=vpn.example.com
mobileconnect://addprofile?server=vpn2.example.com
mobileconnect://addprofile?name=SMA%20Connection&server=sslvpn.example.com
&username=test&password=password&domain=LocalDomain&connect=1
mobileconnect://addprofile?name=EX%20Connection&server=workplace.example.com
&username=test&password=password&realm=Corp&connect=1
All appropriate characters in values of parameters used in URLs are required to be URL encoded. For instance, to match a space, enter %20
.
Was This Article Helpful?
Help us to improve our support portal