Tag Info

Hot answers tagged


For 2013, Check this out using (var ctx = new ClientContext(webUri)) { var currentUser = ctx.Web.CurrentUser; ctx.Load(currentUser); ctx.ExecuteQuery(); Console.WriteLine(currentUser.IsSiteAdmin); } Greetings


Couldn't you refactor the SPServices call into another function, that takes the "area" value, "topic" value, and the list selector as parameters? You'd still be querying the list 24 times, but it will look a lot cleaner. $(document).ready(function () { QueryNewsList("highlights", "company", "#highlights1"); QueryNewsList("downfalls", "company", ...

Only top voted, non community-wiki answers of a minimum length are eligible