SPUtility.IsUserLicensedForEntityInContext method
SharePoint 2013
Checks if the currently logged in user has the proper license to access the specified entity.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)] [ClientCallableAttribute] public static bool IsUserLicensedForEntityInContext( string licensableEntity )
Parameters
- licensableEntity
- Type: System.String
The entity requesting the license check.
Return value
Type: System.BooleanTrue if the user has the proper license or licensing is disabled. False otherwise.