Which two actions should you perform?

You create a custom administration page for a Microsoft Windows SharePoint Services application.

The page is throwing a security exception. You verify that you have administrator rights on the Microsoft Windows SharePoint Services server.

You need to ensure that the page can be used to perform administrative functions.

Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

You create a custom administration page for a Microsoft Windows SharePoint Services application.

The page is throwing a security exception. You verify that you have administrator rights on the Microsoft Windows SharePoint Services server.

You need to ensure that the page can be used to perform administrative functions.

Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

A.
Grant administrative rights to the impersonation account.

B.
Register a hidden field by using the RegisterHiddenField method.

C.
Impersonate an administrative account before calling the object model.

D.
Use the RequestFromAdminPort method to specify the context of the request through the administrative port of the application.



Leave a Reply 0

Your email address will not be published. Required fields are marked *