News Games Screen savers eCards Photos Help

You are not signed in. Sign In • Sign Up


ASP.NET Weblogs 

Access Denied Error, when retrieving user profiles count from SharePoint

Recently for one of my SharePoint project implementation, I wanted to list the number of user profiles available in SharePoint. So I added the following code.              SPSecurity.RunWithElevatedPrivileges(                     delegate()                     {                         using (SPSite thisSite = new SPSite(SPContext.Current.Site.Url))                         {       News | Awards & Certificates | Promote Us | Contact Us | Privacy Policy | Terms of Use | Uninstall Info

© 2014 All rights reserved. is part of the Xacti Group Companies.
All other names are trademarks and/or registered trademarks of their respective owners.