Post Views: 595 There are certain object model calls model that require site-administration privileges. To bypass access-denied error, we use RunWithElevatedPrivileges property when request is initiated by a nonprivileged user. We can successfully make calls into the object model by calling the RunWithElevatedPrivileges method provided by the SPSecurity class.
Post Views: 1,168 Farm Solution: Farm solutions are hosted in IIS server (w3wp.exe) worker process. The Farm Solution deployed code can do any activity in whole SharePoint server Farm level. Once we set Sandbox solution deploy property false in visual studio, solution will be deploy automatically in SharePoint Farm Solutions. Once we deploy the Farm […]
Post Views: 499 User Defined Function: You can’t use Transactions in functions. You can’t use try catch in functions. You can’t called the procedures inside the user defined functions. You can’t use the output parameter in UDF. It support only Input parameter. DML Operations can’t performed in UDF only selection operations are allowed. UDF must […]