SonicWALL P/N 232-002603-00 Cell Phone User Manual


 
19 | SonicWALL Mobile Connect for Android User Guide
Add Profile 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:
mobileconnect://a ddprofile[/ ]?name=ConnectionName&server=ServerAddress
[&Parameter1=Value&Parameter2=Value...]
Following are 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=SRA%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
Note
All appropriate characters in values of parameters used in URLs are required to be URL
encoded. For instance, to match a space, enter %20.
Add Profile Command Parameters
Command
Parameter
Description
name
The unique name of the VPN connection entry that will be created and appear 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 Dell SonicWall appliance in 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 EX series
connections only.
domain
Optional: The domain used in the VPN connection profile. Applies to SRA and
UTM 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 will be initiated if
the profile was successfully added.
callbackurl
Optional: The callback URL is be opened by Mobile Connect after the add profile
command has been processed. See
Add Profile Command on page 19 for full
details of the callback URL syntax and options.