Share via


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

Return value

Type: System.Boolean
true if the app has full control over the tenant, otherwise false.

See also

Reference

SPAppRequestContext class

SPAppRequestContext members

Microsoft.SharePoint namespace