SPUtility.EnsureAuthentication Method

Include Protected Members
Include Inherited Members

Overload List

Name Description
EnsureAuthentication()
EnsureAuthentication(SPWeb) Determines whether the current user is an authenticated user of the specified site and, if not, requests a user name and password, and then opens the Error page for an access denied exception so that the user must request access to the site or list from the owner.

Top

See Also

Reference

SPUtility Class

SPUtility Members

Microsoft.SharePoint.Utilities Namespace