SPSecurity.CreateAppPrincipalSuppressionScope-Methode
Erstellt einen Bereich, in dem der app-Prinzipal wird unterdrückt und die app-Prinzipal Berechtigung wird nicht angewendet.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function CreateAppPrincipalSuppressionScope As IDisposable
'Usage
Dim returnValue As IDisposable
returnValue = SPSecurity.CreateAppPrincipalSuppressionScope()
public static IDisposable CreateAppPrincipalSuppressionScope()
Rückgabewert
Typ: System.IDisposable
Ein verwerfbares Objekt in using -Anweisung verwendet werden.