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