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.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.