Utility.IsUserLicensedForEntityInContext method
Namespace: Microsoft.SharePoint.Client.Utilities
Assembly: Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
Public Shared Function IsUserLicensedForEntityInContext ( _
context As ClientRuntimeContext, _
licensableEntity As String _
) As ClientResult(Of Boolean)
'Usage
Dim context As ClientRuntimeContext
Dim licensableEntity As String
Dim returnValue As ClientResult(Of Boolean)
returnValue = Utility.IsUserLicensedForEntityInContext(context, _
licensableEntity)
public static ClientResult<bool> IsUserLicensedForEntityInContext(
ClientRuntimeContext context,
string licensableEntity
)
Parameters
- context
Type: Microsoft.SharePoint.Client.ClientRuntimeContext
- licensableEntity
Type: System.String
Return value
Type: Microsoft.SharePoint.Client.ClientResult<Boolean>