/// <summary> /// blogger.getUsersBlogs /// </summary> /// <param name="appKey">Key from application. Outdated methodology that has no use here.</param> /// <param name="userName">login username</param> /// <param name="password">login password</param> /// <param name="rootUrl">The root URL.</param> /// <returns>array of blog structs</returns> internal List <MWABlogInfo> GetUserBlogs(string appKey, string userName, string password, string rootUrl) { ValidateRequest(userName, password); List <MWABlogInfo> blogs = new List <MWABlogInfo>(); MWABlogInfo temp = new MWABlogInfo(); temp.url = rootUrl; temp.blogID = "1000"; temp.blogName = SettingManager.GetSetting().SiteName; blogs.Add(temp); return(blogs); }
/// <summary> /// blogger.getUsersBlogs method /// </summary> /// <param name="appKey"> /// Key from application. Outdated methodology that has no use here. /// </param> /// <param name="userName"> /// login username /// </param> /// <param name="password"> /// login password /// </param> /// <param name="rootUrl"> /// The root URL. /// </param> /// <returns> /// array of blog structs /// </returns> internal List <MWABlogInfo> GetUserBlogs(string appKey, string userName, string password, string rootUrl) { var blogs = new List <MWABlogInfo>(); var temp = new MWABlogInfo { url = rootUrl, blogID = "1000", blogName = _basicSettings.Title, }; blogs.Add(temp); return(blogs); }