int UserAssignAPIKey(string UserName, string Password, string APIKey)
Creates an API Key for the user. Returns UserID if the key was successfully assigned, or -1 if assignment failed. API Key must be nvarchar(50) (iPhone UDID can be used).
GetUserByAPIKey(string APIKey)
Retrieves User Info by the supplied API Key.
List<DCUserSubGroup> GetUserSubGroups(int UserID, string APIKey)
Retrieves List of SubGroups that the user is member of.
bool UpdateUserSubGroup(int UserID, string APIKey, int SubGroupID, bool Selected)
Updates user's sub group to show or hide the vehicles for that sub group. Returns True if update was successfull, False otherwise.