SPTenantAdmin members

Represents the tenant administration.

The SPTenantAdmin type exposes the following members.

Methods

  Name Description
Public methodStatic member CheckAutoDisablePreviewFeatures Checks whether an AutoDisablePreviewFeatures property is set.
Public methodStatic member CheckTenantLicenses Checks whether a tenant has the specified licenses.
Public methodStatic member CheckTenantPreviewFeaturesEnabled Checks whether a tenant is in preview mode.
Public methodStatic member GetAdminCompatibilityRange Returns the administration compatibility range applicable for the tenancy. This method requires farm administration access.
Public methodStatic member GetEffectiveCompatibilityRange Returns the effective compatibility range applicable for the tenancy.
Public methodStatic member GetPreferredCompatibilityRange Explicitly returns the tenant preferred compatibility range applicable for the tenancy.
Public methodStatic member IsCurrentUserTenantAdministrator Specifies whether the current user is a tenant administrator in the current site subscription.
Public methodStatic member SetAdminCompatibilityRange Sets the administration compatibility range applicable for the tenancy.
Public methodStatic member SetPreferredCompatibilityRange(SPSiteSubscription, SPCompatibilityRange) Sets the preferred compatibility range applicable for the tenancy.
Public methodStatic member SetPreferredCompatibilityRange(SPWebApplication, SPSiteSubscription, SPCompatibilityRange) Sets the preferred compatibility range applicable for the tenancy.
Public methodStatic member SetTenantPreviewFeaturesEnabled Sets the tenant preview mode property.
Public methodStatic member TryGetTenantAdministrationSiteGuid Attempts to retrieve the identifier of the tenant administration site.

Top

See also

Reference

SPTenantAdmin class

Microsoft.SharePoint namespace