If your MDM provider supports app-specific configuration, you can specify how the credentials for user accounts are configured.
MDM app setting keys
The Connections mobile app supports the following MDM app configuration setting keys:
com.ibm.mobile.connections.serverURL The account URL for the Connections server.
com.ibm.mobile.connections.serverName The label of the account.
Account credentials
You can specify credentials that apply to only one account or that apply globally to all accounts.
To specify credentials that apply to all accounts, use the following parameters:
com.ibm.mobile.user The user ID for the accounts.
com.ibm.mobile.password The user's password.
To specify credentials for a specific account, use the following parameters:
com.ibm.mobile.connections.user The user ID for the account.
com.ibm.mobile.connections.password The account password.
Note: To create an account, you must have a server URL and user ID for the account.
Substitution variables
With many MDM solutions that support app configuration, you can use substitution variables for the user ID and password. For more information about which substitution variables are supported, see your MDM provider's documentation.
You can create multiple accounts by appending a dot, followed by a unique number, to the end of the keys.
For example, to create three accounts that share credentials, use the following parameters:
Note: The $USERID$ variable is used by MobileIron and %email% is used by MaaS360.
com.ibm.mobile.connections.serverURL=http://server.com/mobile
com.ibm.mobile.connections.serverName="Test Account"
com.ibm.mobile.connections.serverURL.1=http://server2.com/mobile
com.ibm.mobile.connections.serverName.1="Server2 Account"
com.ibm.mobile.connections.serverURL.2=http://server3.com/mobile
com.ibm.mobile.connections.serverName.2="Server3 Account"
com.ibm.mobile.user=$USERID$
com.ibm.mobile.password=$PASSWORD$
To create two accounts with different user IDs, use the following parameters:
com.ibm.mobile.connections.serverURL=http://server.com/mobile
com.ibm.mobile.connections.serverName="Test Account"
com.ibm.moible.connections.user=TestUser1
com.ibm.mobile.connections.serverURL.1=http://server2.com/mobile
com.ibm.mobile.connections.serverName.1="My personal Account"
com.ibm.mobile.connections.user.1=%email%
Related topics:
Configuring MaaS360
Configuring MobileIron