This topic has not yet been rated - Rate this topic

SPUtility.EnsureAuthentication method

Determines whether the current user is an authenticated user and, if not, requests the user to authenticate.

  NameDescription
Public method Static member 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.
Public method Static member EnsureAuthentication(SPWeb) Determines whether the current user is authenticated, and that the web parameter is not null; otherwise, requests the user to authenticate.
Top
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.