Export (0) Print
Expand All
Expand Minimize

SPUtility.IsUserLicensedForEntityInContext method

SharePoint 2013

Checks if the currently logged in user has the proper license to access the specified entity.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public static bool IsUserLicensedForEntityInContext(
	string licensableEntity


Type: System.String

The entity requesting the license check.

Return value

Type: System.Boolean
True if the user has the proper license or licensing is disabled. False otherwise.
© 2014 Microsoft