SPAppRequestContext.HasFullControl method
Indicates whether the app has full control on the tenant.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function HasFullControl ( _
serviceContext As SPServiceContext _
) As Boolean
'Usage
Dim instance As SPAppRequestContext
Dim serviceContext As SPServiceContext
Dim returnValue As Boolean
returnValue = instance.HasFullControl(serviceContext)
public bool HasFullControl(
SPServiceContext serviceContext
)
Parameters
serviceContext
Type: Microsoft.SharePoint.SPServiceContextThe service context.
Return value
Type: System.Boolean
true if the app has full control over the tenant, otherwise false.