Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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)
[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.Boolean
True if the user has the proper license or licensing is disabled. False otherwise.

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.