BlogEngine.Core.API.MetaWeblog.MetaWeblogHandler.GetKeywords C# (CSharp) Method

GetKeywords() private method

wp.getTags method
private GetKeywords ( string blogId, string userName, string password ) : List
blogId string The blog id.
userName string Name of the user.
password string The password.
return List
        internal List<string> GetKeywords(string blogId, string userName, string password)
        {
            var keywords = new List<string>();

            if (!Security.IsAuthorizedTo(Rights.CreateNewPosts))
                return keywords;

            foreach (var tag in
                Post.Posts.Where(post => post.IsVisible).SelectMany(post => post.Tags.Where(tag => !keywords.Contains(tag))))
            {
                keywords.Add(tag);
            }

            keywords.Sort();

            return keywords;
        }