Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines whether the current user is an authenticated user and, if not, requests the user to authenticate.
Overload list
| Name | Description | |
|---|---|---|
![]() ![]() |
EnsureAuthentication() | Determines whether the current user is authenticated, and that a context Web for the current HTTP request exists; otherwise, asks the user to authenticate. |
![]() ![]() |
EnsureAuthentication(SPWeb) | Determines whether the current user is authenticated, and that the web parameter is not a null reference (Nothing in Visual Basic); otherwise, requests the user to authenticate. |
Top
.gif)
.gif)