SPUtility.EnsureAuthentication-Methode (SPWeb)

Bestimmt, ob der aktuelle Benutzer authentifiziert ist und dass der web -Parameter nicht ein Nullverweis (Nothing in Visual Basic)ist. Andernfalls fordert den Benutzer zu authentifizieren.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Shared Sub EnsureAuthentication ( _
    web As SPWeb _
)
'Usage
Dim web As SPWebSPUtility.EnsureAuthentication(web)
public static void EnsureAuthentication(
    SPWeb web
)

Parameter

Siehe auch

Referenz

SPUtility Klasse

SPUtility-Member

EnsureAuthentication-Überladung

Microsoft.SharePoint.Utilities-Namespace