Online Training On SharePoint
                      
Showing posts with label Development questions on SharePoint. Show all posts
Showing posts with label Development questions on SharePoint. Show all posts

Question on Assemblies in Feature

Question 97: Following statements are correct for the deployment of the assemblies referenced in a feature definition (Multiple Selection):

a. Assemblies can be deployed Global Assembly Cache (GAC)

b. Assemblies can not be deployed Web Application Bin (_app_bin)

c. Assemblies can not be deployed Global Assembly Cache (GAC)

d. Assemblies can be deployed Web Application Bin (_app_bin)

Check Answer

Question on Security Elevation

Question 61: When we execute the code with SPSecurity.RunWithElevatedPrivileges what credentials are being used?

a. The App Pool Identity for the web application running SharePoint.

b. The account for running the SSP in the Server.

c. The Owner account of the server running SharePoint.

d. Runs under Anonymous account.
Check Answer

Question on Events

Question 36: We need to stop a user from deleting a document from a document library. In this scenario what would be the correct statements:

a. Use ItemDeleted Event

b. Use ItemDeleting Event

c. Use properties.Cancel = true;

d. Use properties.Cancel = false;

Check Answer