Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Specifies whether the current user is a tenant administrator in the current site subscription.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function IsCurrentUserTenantAdministrator As Boolean
'Usage
Dim returnValue As Boolean
returnValue = SPTenantAdmin.IsCurrentUserTenantAdministrator()
public static bool IsCurrentUserTenantAdministrator()
Return value
Type: System.Boolean
true if the current user is a tenant administrator, otherwise false.