/// <summary> /// Gets the user folder for the given folder-type /// </summary> /// <param name="userID"></param> /// <param name="type"></param> /// <returns></returns> public Dictionary <AssetType, InventoryFolderBase> GetSystemFolders(string id, UUID sessionID) { m_log.Debug("[HGInventory]: GetSystemFolders " + id); string url = string.Empty; string userID = string.Empty; if (StringToUrlAndUserID(id, out url, out userID)) { ISessionAuthInventoryService connector = GetConnector(url); return(connector.GetSystemFolders(userID, sessionID)); } return(new Dictionary <AssetType, InventoryFolderBase>()); }